difftastic/vendored_parsers/tree-sitter-commonlisp
Wilfred Hughes 953a9cd46b Add 'vendored_parsers/tree-sitter-commonlisp/' from commit '32323509b3d9fe96607d151c2da2c9009eb13a2f'
git-subtree-dir: vendored_parsers/tree-sitter-commonlisp
git-subtree-mainline: 0b5ca1b3c3
git-subtree-split: 32323509b3
2025-08-16 12:10:10 +07:00
..
.github/workflows Add 'vendored_parsers/tree-sitter-commonlisp/' from commit '32323509b3d9fe96607d151c2da2c9009eb13a2f' 2025-08-16 12:10:10 +07:00
bindings Add 'vendored_parsers/tree-sitter-commonlisp/' from commit '32323509b3d9fe96607d151c2da2c9009eb13a2f' 2025-08-16 12:10:10 +07:00
queries Add 'vendored_parsers/tree-sitter-commonlisp/' from commit '32323509b3d9fe96607d151c2da2c9009eb13a2f' 2025-08-16 12:10:10 +07:00
src Add 'vendored_parsers/tree-sitter-commonlisp/' from commit '32323509b3d9fe96607d151c2da2c9009eb13a2f' 2025-08-16 12:10:10 +07:00
test Add 'vendored_parsers/tree-sitter-commonlisp/' from commit '32323509b3d9fe96607d151c2da2c9009eb13a2f' 2025-08-16 12:10:10 +07:00
.editorconfig Add 'vendored_parsers/tree-sitter-commonlisp/' from commit '32323509b3d9fe96607d151c2da2c9009eb13a2f' 2025-08-16 12:10:10 +07:00
.gitattributes Add 'vendored_parsers/tree-sitter-commonlisp/' from commit '32323509b3d9fe96607d151c2da2c9009eb13a2f' 2025-08-16 12:10:10 +07:00
.gitignore Add 'vendored_parsers/tree-sitter-commonlisp/' from commit '32323509b3d9fe96607d151c2da2c9009eb13a2f' 2025-08-16 12:10:10 +07:00
.gitmodules Add 'vendored_parsers/tree-sitter-commonlisp/' from commit '32323509b3d9fe96607d151c2da2c9009eb13a2f' 2025-08-16 12:10:10 +07:00
.npmignore Add 'vendored_parsers/tree-sitter-commonlisp/' from commit '32323509b3d9fe96607d151c2da2c9009eb13a2f' 2025-08-16 12:10:10 +07:00
Cargo.lock Add 'vendored_parsers/tree-sitter-commonlisp/' from commit '32323509b3d9fe96607d151c2da2c9009eb13a2f' 2025-08-16 12:10:10 +07:00
Cargo.toml Add 'vendored_parsers/tree-sitter-commonlisp/' from commit '32323509b3d9fe96607d151c2da2c9009eb13a2f' 2025-08-16 12:10:10 +07:00
LICENSE.md Add 'vendored_parsers/tree-sitter-commonlisp/' from commit '32323509b3d9fe96607d151c2da2c9009eb13a2f' 2025-08-16 12:10:10 +07:00
Makefile Add 'vendored_parsers/tree-sitter-commonlisp/' from commit '32323509b3d9fe96607d151c2da2c9009eb13a2f' 2025-08-16 12:10:10 +07:00
Package.swift Add 'vendored_parsers/tree-sitter-commonlisp/' from commit '32323509b3d9fe96607d151c2da2c9009eb13a2f' 2025-08-16 12:10:10 +07:00
README.md Add 'vendored_parsers/tree-sitter-commonlisp/' from commit '32323509b3d9fe96607d151c2da2c9009eb13a2f' 2025-08-16 12:10:10 +07:00
binding.gyp Add 'vendored_parsers/tree-sitter-commonlisp/' from commit '32323509b3d9fe96607d151c2da2c9009eb13a2f' 2025-08-16 12:10:10 +07:00
grammar.js Add 'vendored_parsers/tree-sitter-commonlisp/' from commit '32323509b3d9fe96607d151c2da2c9009eb13a2f' 2025-08-16 12:10:10 +07:00
package-lock.json Add 'vendored_parsers/tree-sitter-commonlisp/' from commit '32323509b3d9fe96607d151c2da2c9009eb13a2f' 2025-08-16 12:10:10 +07:00
package.json Add 'vendored_parsers/tree-sitter-commonlisp/' from commit '32323509b3d9fe96607d151c2da2c9009eb13a2f' 2025-08-16 12:10:10 +07:00
pyproject.toml Add 'vendored_parsers/tree-sitter-commonlisp/' from commit '32323509b3d9fe96607d151c2da2c9009eb13a2f' 2025-08-16 12:10:10 +07:00
setup.py Add 'vendored_parsers/tree-sitter-commonlisp/' from commit '32323509b3d9fe96607d151c2da2c9009eb13a2f' 2025-08-16 12:10:10 +07:00
test.lisp Add 'vendored_parsers/tree-sitter-commonlisp/' from commit '32323509b3d9fe96607d151c2da2c9009eb13a2f' 2025-08-16 12:10:10 +07:00
tree-sitter.json Add 'vendored_parsers/tree-sitter-commonlisp/' from commit '32323509b3d9fe96607d151c2da2c9009eb13a2f' 2025-08-16 12:10:10 +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 literals 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.

Usage