Update README

pull/70/head
Stephan Seitz 2021-04-05 16:51:35 +07:00
parent 920864eda9
commit f252c1823b
2 changed files with 8 additions and 7 deletions

@ -1,9 +1,10 @@
# tree-sitter-jinja2
# tree-sitter-commonlisp
WIP. Not battle-tested.
WIP. Goal is to have a better syntax highlighting and some semantic refactoring https://github.com/nvim-treesitter/nvim-treesitter-refactor/.
```bash
npm install
tree-sitter generate && tree-sitter parse example-file
```
All praise goes to https://github.com/sogaiu/tree-sitter-clojure which is extended by this grammar.
TODOs:
- support lisp packages: `foo.bar:symbol`
- support number literatls that are different from clojure (e.g. `.9`)

@ -87,7 +87,7 @@ Arrays
Loop Macro
==========================================
(loop for dim-idx in xyz
(cl:loop for dim-idx in xyz
for letter in (list 'x 'y 'z)
collect (let ((current-range (nth dim-idx iteration-ranges)))
`(, (get-counter-symbol dim-idx)