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 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
-
C/C++
- compilation run
make(optionalmake install) - Follow the Guide on using tree-sitter parsers
- set
tree_sitter_commonlisp()as language on your Tree-Sitter parser fromtree_sitter_commonlisp.h
ts_parser_set_language(parser, tree_sitter_json());
- compilation run
-
Python (
pip install tree-sitter-commonlisp tree-sitter) https://github.com/tree-sitter-grammars/tree-sitter-commonlisp/blob/4d2a2247bb0ec117193ef33e3ce546a6781c5bf5/bindings/python/tests/test_import.py#L15-L23 -
Rust
cargo add tree-sitter tree-sitter-grammarshttps://github.com/tree-sitter-grammars/tree-sitter-commonlisp/blob/4d2a2247bb0ec117193ef33e3ce546a6781c5bf5/bindings/rust/lib.rs#L47-L50
Metadata
Release files for tree-sitter-commonlisp 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tree_sitter_commonlisp-0.4.1.tar.gz | 238.6 kB | Without provenance | Details for tree_sitter_commonlisp-0.4.1.tar.gz |
Built distributions (wheels)
Total release size: 1.0 MB
Release files / tree_sitter_commonlisp-0.4.1.tar.gz
| Download URL | tree_sitter_commonlisp-0.4.1.tar.gz |
|---|---|
| Size | 238.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4b8fc7e1ae7faf29d8f656970e25c660b13857e39b55d4a13bcee06ccf3e79c4
|
|
BLAKE2b-256 checksum How to use checksums |
06c5503a9cc9e8ca02387f4424742964242499a407fb8451501ec24e71babc8b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / tree_sitter_commonlisp-0.4.1-cp38-abi3-win_arm64.whl
| Download URL | tree_sitter_commonlisp-0.4.1-cp38-abi3-win_arm64.whl |
|---|---|
| Size | 108.0 kB |
| Tags | CPython 3.8 Windows ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
fca0ea03b60e7f940d466e9c3e757246e8e172d79d4903d2294ab5e73e235eb5
|
|
BLAKE2b-256 checksum How to use checksums |
34761022ce8ec204ef45ce0d2e7e5b42164d0729212135df49eed2fc3ffa115a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / tree_sitter_commonlisp-0.4.1-cp38-abi3-win_amd64.whl
| Download URL | tree_sitter_commonlisp-0.4.1-cp38-abi3-win_amd64.whl |
|---|---|
| Size | 110.0 kB |
| Tags | CPython 3.8 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
5990660d55567565fee2dd609b4500c6fd0049c82d5ea195779d7c6dd78a75cc
|
|
BLAKE2b-256 checksum How to use checksums |
dfa26824c0b84c67f3d4a3855073c7a17273d677ccafbe5779c9a49eb3ef29eb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / tree_sitter_commonlisp-0.4.1-cp38-abi3-musllinux_1_2_x86_64.whl
| Download URL | tree_sitter_commonlisp-0.4.1-cp38-abi3-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 117.1 kB |
| Tags | CPython 3.8 Linux musl 1.2+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
3870af93d02039116a8ee1e325bf9b892cb593819e6dbd16ba2971a8f245c0ab
|
|
BLAKE2b-256 checksum How to use checksums |
5029b9b0519ad3b7cc39201241367c10aa28b1055b2a35d4f4d292d9b6bb1ccc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / tree_sitter_commonlisp-0.4.1-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | tree_sitter_commonlisp-0.4.1-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 132.1 kB |
| Tags | CPython 3.8 Linux glibc 2.17+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
33ed313aa0d75172a84b816fad3d3d4aa803cc3bd672a3165c5a594e345c2c61
|
|
BLAKE2b-256 checksum How to use checksums |
3fef0446ee7d5ebc25f384de6fd3a9bb203ff9b701b82ee604967dc11d0c9552
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / tree_sitter_commonlisp-0.4.1-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | tree_sitter_commonlisp-0.4.1-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 122.9 kB |
| Tags | CPython 3.8 Linux glibc 2.17+ x86-64 Linux glibc 2.5+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
bd130f1866009e0b9000d0f11db061fbc0499a0b5b053e4d1f36b9b5cd1f2ef8
|
|
BLAKE2b-256 checksum How to use checksums |
326f6f42b794a2fa1d69dd34f9ce887839065a8b32405cd613733a6d2ef83da1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / tree_sitter_commonlisp-0.4.1-cp38-abi3-macosx_11_0_arm64.whl
| Download URL | tree_sitter_commonlisp-0.4.1-cp38-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 112.8 kB |
| Tags | CPython 3.8 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
378a5b3597c0bcd9d65b79b4dae664f4966ccf4fa72fab0f8f08e351d861596d
|
|
BLAKE2b-256 checksum How to use checksums |
10e8d241bf4d543fb982d3eb39dbda68a42f960a236f802dd012766bf305e041
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / tree_sitter_commonlisp-0.4.1-cp38-abi3-macosx_10_9_x86_64.whl
| Download URL | tree_sitter_commonlisp-0.4.1-cp38-abi3-macosx_10_9_x86_64.whl |
|---|---|
| Size | 107.0 kB |
| Tags | CPython 3.8 abi3 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
011ad2788ad8517cc7e96220b5442d32f0b95f002be1ae6db0491e123b9f16d2
|
|
BLAKE2b-256 checksum How to use checksums |
b5247fda258e5aeb8665d7a5d0d6b94f262fb795f014c399f6ec51768b0bea23
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Security for tree-sitter-commonlisp 0.4.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.