a structural diff that understands syntax 🟥🟩
 
 
 
 
 
Go to file
Stephan Seitz aa14ee9ee9 feat: modernize Rust bindings to use `tree_sitter_language::LanguageFn`
Fixes #38
2025-03-16 15:59:04 +07:00
.github/workflows ci: add publish workflow for PyPI 2024-04-06 22:22:41 +07:00
bindings feat: modernize Rust bindings to use `tree_sitter_language::LanguageFn` 2025-03-16 15:59:04 +07:00
queries tagging: first tests 2023-06-17 07:20:59 +07:00
src build: generate parser 2024-04-27 17:34:50 +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 .gitignore 2024-04-01 18:01:02 +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 feat: modernize Rust bindings to use `tree_sitter_language::LanguageFn` 2025-03-16 15:59:04 +07:00
Cargo.toml feat: modernize Rust bindings to use `tree_sitter_language::LanguageFn` 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 v0.3.3 2024-04-06 22:18:30 +07:00
Package.swift feat: add bindings for Swift, C, Python, Go 2024-04-06 22:14:54 +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 v0.3.3 2024-04-06 22:18:30 +07:00
package.json publish: bump version v0.3.3 2024-04-06 22:18:30 +07:00
pyproject.toml publish: bump version v0.3.3 2024-04-06 22:18:30 +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

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.