WIP. Goal is to have a better syntax highlighting for Neovim and some semantic refactoring https://github.com/nvim-treesitter/nvim-treesitter-refactor/.
All praise goes to https://github.com/sogaiu/tree-sitter-clojure which is extended by this grammar.
TODOs:
.9)Macros with special respresentation in syntax tree (when written with lowercase letters):
This grammar is used in https://github.com/Wilfred/difftastic to generate syntax-ware diffs for Common Lisp.
C/C++
make (optional make install)tree_sitter_commonlisp() as language on your Tree-Sitter parser from tree_sitter_commonlisp.hts_parser_set_language(parser, tree_sitter_commonlisp());
Python (pip install tree-sitter-commonlisp tree-sitter)
https://github.com/tree-sitter-grammars/tree-sitter-commonlisp/blob/4d2a2247bb0ec117193ef33e3ce546a6781c5bf5/bindings/python/tests/test_import.py#L15-L23
Rust cargo add tree-sitter tree-sitter-grammars
https://github.com/tree-sitter-grammars/tree-sitter-commonlisp/blob/4d2a2247bb0ec117193ef33e3ce546a6781c5bf5/bindings/rust/lib.rs#L47-L50
JavaScript
63.7%
Scheme
22.8%
Common Lisp
13.5%
WIP. Goal is to have a better syntax highlighting for Neovim and some semantic refactoring https://github.com/nvim-treesitter/nvim-treesitter-refactor/.
All praise goes to https://github.com/sogaiu/tree-sitter-clojure which is extended by this grammar.
TODOs:
.9)Macros with special respresentation in syntax tree (when written with lowercase letters):
This grammar is used in https://github.com/Wilfred/difftastic to generate syntax-ware diffs for Common Lisp.
C/C++
make (optional make install)tree_sitter_commonlisp() as language on your Tree-Sitter parser from tree_sitter_commonlisp.hts_parser_set_language(parser, tree_sitter_commonlisp());
Python (pip install tree-sitter-commonlisp tree-sitter)
https://github.com/tree-sitter-grammars/tree-sitter-commonlisp/blob/4d2a2247bb0ec117193ef33e3ce546a6781c5bf5/bindings/python/tests/test_import.py#L15-L23
Rust cargo add tree-sitter tree-sitter-grammars
https://github.com/tree-sitter-grammars/tree-sitter-commonlisp/blob/4d2a2247bb0ec117193ef33e3ce546a6781c5bf5/bindings/rust/lib.rs#L47-L50
JavaScript
63.7%
Scheme
22.8%
Common Lisp
13.5%