a structural diff that understands syntax 🟥🟩
 
 
 
 
 
Go to file
Stephan Seitz 2febacbac7 Add "else" for loop_macro 2021-04-16 09:16:08 +07:00
bindings Initial commit 2021-04-02 18:42:53 +07:00
src Remove dotted_sym_lit and add "above" 2021-04-16 09:13:08 +07:00
test/corpus Add "else" for loop_macro 2021-04-16 09:16:08 +07:00
Cargo.toml Initial commit 2021-04-02 18:42:53 +07:00
LICENSE.md Initial commit 2021-04-02 18:42:53 +07:00
README.md Update README 2021-04-05 16:54:00 +07:00
binding.gyp Initial commit 2021-04-02 18:42:53 +07:00
grammar.js Add "else" for loop_macro 2021-04-16 09:16:08 +07:00
index.js Initial commit 2021-04-02 18:42:53 +07:00
package-lock.json Support keyword specifiers in defmethod 2021-04-15 20:50:30 +07:00
package.json Some progress 2021-04-02 23:44:16 +07:00
test.lisp Add loop test 2021-04-03 02:31:47 +07:00

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 lisp packages: foo.bar:symbol
  • 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