tree-sitter-commonlisp

Crates.iotree-sitter-commonlisp
lib.rstree-sitter-commonlisp
version0.3.3
sourcesrc
created_at2021-06-16 21:31:01.505802
updated_at2024-04-06 20:19:23.374699
descriptionCommon Lisp grammar for the tree-sitter parsing library
homepage
repositoryhttps://github.com/theHamsta/tree-sitter-commonlisp
max_upload_size
id411043
size6,228,275
Stephan Seitz (theHamsta)

documentation

README

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.

Commit count: 106

cargo fmt