a structural diff that understands syntax 🟥🟩
 
 
 
 
 
Go to file
Stephan Seitz b506e326cd Fix #5: allow package literal "cl" 2021-11-27 12:02:58 +07:00
.github/workflows Add CI 2021-11-25 18:16:34 +07:00
bindings Update cargo bindings 2021-06-16 23:26:09 +07:00
src Fix #5: allow package literal "cl" 2021-11-27 12:02:58 +07:00
test/corpus Fix #5: allow package literal "cl" 2021-11-27 12:02:58 +07:00
Cargo.lock Update cargo bindings 2021-06-16 23:26:09 +07:00
Cargo.toml Fixup cargo keywords 2021-06-16 23:29:41 +07:00
LICENSE.md Fix #3: Switch license to MIT 2021-11-25 22:04:17 +07:00
README.md Update README 2021-04-20 01:33:28 +07:00
binding.gyp Rename binding name 2021-04-19 17:51:39 +07:00
grammar.js Fix #5: allow package literal "cl" 2021-11-27 12:02:58 +07:00
index.js Initial commit 2021-04-02 18:42:53 +07:00
package-lock.json Update dependencies 2021-11-25 21:56:30 +07:00
package.json Update dependencies 2021-11-25 22:03:51 +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 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