a structural diff that understands syntax 🟥🟩
 
 
 
 
 
Go to file
Stephan Seitz 0b42e195ea publish: bump version 0.4.0 2025-03-16 15:59:04 +07:00
.github/workflows ci: add Python test 2025-03-16 15:59:04 +07:00
bindings ci: add Swift tests 2025-03-16 15:59:04 +07:00
queries tagging: first tests 2023-06-17 07:20:59 +07:00
src deps: update tree-sitter-cli 2025-03-16 15:59:04 +07:00
test Bump version and update dependencies 2023-08-26 00:50:13 +07:00
.editorconfig feat: add bindings for Swift, C, Python, Go 2024-04-06 22:14:54 +07:00
.gitattributes feat: add bindings for Swift, C, Python, Go 2024-04-06 22:14:54 +07:00
.gitignore chore: add `.build` to .gitignore 2025-03-16 15:59:04 +07:00
.gitmodules Add sly for testing 2021-11-28 12:25:19 +07:00
.npmignore Add build to .npmignore 2021-12-06 20:32:00 +07:00
Cargo.lock publish: bump version 0.4.0 2025-03-16 15:59:04 +07:00
Cargo.toml publish: bump version 0.4.0 2025-03-16 15:59:04 +07:00
LICENSE.md Fix #3: Switch license to MIT 2021-11-25 22:04:17 +07:00
Makefile publish: bump version 0.4.0 2025-03-16 15:59:04 +07:00
Package.swift ci: add Swift tests 2025-03-16 15:59:04 +07:00
README.md docs: fix typos README.md for package name 2024-04-06 22:33:16 +07:00
binding.gyp feat: add bindings for Swift, C, Python, Go 2024-04-06 22:14:54 +07:00
grammar.js build: generate parser 2024-04-27 17:34:50 +07:00
package-lock.json publish: bump version 0.4.0 2025-03-16 15:59:04 +07:00
package.json publish: bump version 0.4.0 2025-03-16 15:59:04 +07:00
pyproject.toml publish: bump version 0.4.0 2025-03-16 15:59:04 +07:00
setup.py feat: add bindings for Swift, C, Python, Go 2024-04-06 22:14:54 +07:00
test.lisp Add loop test 2021-04-03 02:31:47 +07:00
tree-sitter.json chore: add tree-sitter.json 2025-03-16 15:59:04 +07:00

README.md

tree-sitter-commonlisp

CI discord matrix npm crates pypi

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.