a structural diff that understands syntax 🟥🟩
 
 
 
 
 
Go to file
Stephan Seitz 9a33a3412f Fix with_clause 2021-11-28 13:03:47 +07:00
.github/workflows Add CI tests for parsing Petalisp 2021-11-27 13:09:04 +07:00
bindings Update cargo bindings 2021-06-16 23:26:09 +07:00
src Fix with_clause 2021-11-28 13:03:47 +07:00
test Fix with_clause 2021-11-28 13:03:47 +07:00
.gitmodules Add sly for testing 2021-11-28 12:25:19 +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 Add reference to difftastic to README 2021-11-28 11:26:27 +07:00
binding.gyp Rename binding name 2021-04-19 17:51:39 +07:00
grammar.js Fix with_clause 2021-11-28 13:03:47 +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

This grammar is used in https://github.com/Wilfred/difftastic to generate syntax-ware diffs for Common Lisp.