5 releases
0.3.3 | Apr 6, 2024 |
---|---|
0.3.2 | Apr 1, 2024 |
0.3.1 | Aug 25, 2023 |
0.3.0 | Dec 6, 2021 |
0.2.0 | Jun 16, 2021 |
#168 in Text editors
250 downloads per month
Used in tree-painter
6MB
219K
SLoC
tree-sitter-commonlisp
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:
- support number literatls that are different from clojure (e.g.
.9
)
Macros with special respresentation in syntax tree (when written with lowercase letters):
- defun and friends (e.g. defmethod)
- loop macro
This grammar is used in https://github.com/Wilfred/difftastic to generate syntax-ware diffs for Common Lisp.
Dependencies
~2.8–4MB
~76K SLoC