tree-sitter-commonlisp 0.3.1

Common Lisp grammar for the tree-sitter parsing library


WIP. Goal is to have a better syntax highlighting for Neovim and some semantic refactoring

All praise goes to which is extended by this grammar.


  • 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 to generate syntax-ware diffs for Common Lisp.

Additional Highlighting Support

Install to get highlighting of all functions and macros in the cl namespace.