Commonlisp grammar for tree-sitter
Project description
tree-sitter-commonlisp
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
File details
Details for the file tree_sitter_commonlisp-0.3.3-cp38-abi3-win_amd64.whl
.
File metadata
- Download URL: tree_sitter_commonlisp-0.3.3-cp38-abi3-win_amd64.whl
- Upload date:
- Size: 112.6 kB
- Tags: CPython 3.8+, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23273e9937376613c9f1e9ca97a46d6573fe5cdf4254e5f1ff737ed8169cedbf |
|
MD5 | 421ea23c72b01305bbb7c0c43fb8522a |
|
BLAKE2b-256 | 4946d02fb5b3e82b31769aea25ee9d763f68f2379f43cb900669aa89b43b71f5 |
File details
Details for the file tree_sitter_commonlisp-0.3.3-cp38-abi3-musllinux_1_1_x86_64.whl
.
File metadata
- Download URL: tree_sitter_commonlisp-0.3.3-cp38-abi3-musllinux_1_1_x86_64.whl
- Upload date:
- Size: 127.1 kB
- Tags: CPython 3.8+, musllinux: musl 1.1+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3010a54ef1317b6ef12ad1a805b085fe5725366752950f89ce630d55b8dcf10f |
|
MD5 | c9c65aed621eec68ad318e4e5a70963f |
|
BLAKE2b-256 | c963ac7226c9114ab71236808b9d8b7e34483a67fd6756940b65ca17e0c369b5 |
File details
Details for the file tree_sitter_commonlisp-0.3.3-cp38-abi3-musllinux_1_1_aarch64.whl
.
File metadata
- Download URL: tree_sitter_commonlisp-0.3.3-cp38-abi3-musllinux_1_1_aarch64.whl
- Upload date:
- Size: 140.9 kB
- Tags: CPython 3.8+, musllinux: musl 1.1+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d6289a6420d0d380cedb9b70d4a9b02d46a75881ea459dd7eab27522fb28ef3 |
|
MD5 | 304843440b6d88f79a034299b43e485c |
|
BLAKE2b-256 | 6972d18fce343604deae5816a4239efb03fe23acfa6a725053dd83f940ee19a7 |
File details
Details for the file tree_sitter_commonlisp-0.3.3-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: tree_sitter_commonlisp-0.3.3-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 139.1 kB
- Tags: CPython 3.8+, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d99d2e731333cd6ea5803c714c748259601419249c2673c4e553fda18993694a |
|
MD5 | 33e519ad53a86129edcb8c8a7fe2cfee |
|
BLAKE2b-256 | 2c5e3057fce585125de9a7e568bbe53cb450bc2476306bb72d7cc923f16543b9 |
File details
Details for the file 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
.
File metadata
- Download URL: 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
- Upload date:
- Size: 124.6 kB
- Tags: CPython 3.8+, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f6f89694b64449c5aa0d4ef6084ef9ff2361107c251aa726777336b4ccad67b |
|
MD5 | 538f8707bf6885e84f334970cf2acf54 |
|
BLAKE2b-256 | e199350205779ab13e66c67826a20cb0fa36199382de1a4d235710ca0899b8fb |
File details
Details for the file tree_sitter_commonlisp-0.3.3-cp38-abi3-macosx_11_0_arm64.whl
.
File metadata
- Download URL: tree_sitter_commonlisp-0.3.3-cp38-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 116.1 kB
- Tags: CPython 3.8+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64af7b6bc0cd7f3122aefbade93da56815430b7356335267b0c9adfbafb39218 |
|
MD5 | 5cec764f2e53f902deb17b4e3e94553b |
|
BLAKE2b-256 | 6dad2669b25c5a4744fbeb1924bd6aca624c89aed31fca11d9c738d7e265f8a2 |
File details
Details for the file tree_sitter_commonlisp-0.3.3-cp38-abi3-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: tree_sitter_commonlisp-0.3.3-cp38-abi3-macosx_10_9_x86_64.whl
- Upload date:
- Size: 109.0 kB
- Tags: CPython 3.8+, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85639939f2dc141a680ef8f700d1e9143e1bf5b1f2694034d4a15f0e891c03e0 |
|
MD5 | f26979d69bd26227bd81d7fee2d8f0b9 |
|
BLAKE2b-256 | 2f445b3d4fd5b71e285ea51050e3ecff85931b8a17d3524c6981b702933b4705 |