mirror of https://github.com/Wilfred/difftastic/
|
|
||
|---|---|---|
| .github/workflows | ||
| bindings | ||
| queries | ||
| src | ||
| test | ||
| .editorconfig | ||
| .gitattributes | ||
| .gitignore | ||
| .gitmodules | ||
| .npmignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| LICENSE.md | ||
| Makefile | ||
| Package.swift | ||
| README.md | ||
| binding.gyp | ||
| grammar.js | ||
| package-lock.json | ||
| package.json | ||
| pyproject.toml | ||
| setup.py | ||
| test.lisp | ||
| tree-sitter.json | ||
README.md
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.