tree-sitter-commonlisp
TypeScript icon, indicating that this package has built-in type declarations

0.4.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i tree-sitter-commonlisp

Weekly Downloads

5

Version

0.4.1

License

MIT

Unpacked Size

11.2 MB

Total Files

21

Last publish

Collaborators

  • thehamsta