Skip to main content

Commonlisp grammar for tree-sitter

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

tree_sitter_commonlisp-0.3.3-cp38-abi3-win_amd64.whl (112.6 kB view hashes)

Uploaded CPython 3.8+ Windows x86-64

tree_sitter_commonlisp-0.3.3-cp38-abi3-musllinux_1_1_x86_64.whl (127.1 kB view hashes)

Uploaded CPython 3.8+ musllinux: musl 1.1+ x86-64

tree_sitter_commonlisp-0.3.3-cp38-abi3-musllinux_1_1_aarch64.whl (140.9 kB view hashes)

Uploaded CPython 3.8+ musllinux: musl 1.1+ ARM64

tree_sitter_commonlisp-0.3.3-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (139.1 kB view hashes)

Uploaded CPython 3.8+ manylinux: glibc 2.17+ ARM64

tree_sitter_commonlisp-0.3.3-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (124.6 kB view hashes)

Uploaded CPython 3.8+ manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

tree_sitter_commonlisp-0.3.3-cp38-abi3-macosx_11_0_arm64.whl (116.1 kB view hashes)

Uploaded CPython 3.8+ macOS 11.0+ ARM64

tree_sitter_commonlisp-0.3.3-cp38-abi3-macosx_10_9_x86_64.whl (109.0 kB view hashes)

Uploaded CPython 3.8+ macOS 10.9+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page