tree-sitter-lpc
This fork publishes the grammar to PyPI as
tree-sitter-lpc(prebuilt wheels for Linux, macOS and Windows). The grammar itself comes from cpu/tree-sitter-lpc.
A tree-sitter grammar for the
LDMud dialect of LPC, built rule-by-rule against the
canonical bison grammar in
ldmud/src/prolang.y.
Structural limits the grammar deliberately doesn't model are documented in
limitations.md.
Usage
tree-sitter generate # regenerate src/parser.c from grammar.js
tree-sitter test # run test/corpus/*.txt
tree-sitter parse <file> # parse a file, print the CST
A Nix dev shell with tree-sitter, nodejs, and gcc is wired up via
flake.nix + .envrc; direnv allow once and the shell auto-loads.
Bindings
The generated parser is committed to src/, so consumers don't need the
tree-sitter CLI. Language bindings ship under bindings/:
- C (
bindings/c/) —tree_sitter_lpc()symbol exported viatree-sitter-lpc.h. Link withsrc/parser.c. - Rust (
bindings/rust/) — published as thetree-sitter-lpccrate; exposesLANGUAGEfor use withtree-sitter. - Go (
bindings/go/) —Language()returns the*sitter.Languageforgo-tree-sitter. - Python (
bindings/python/) —tree_sitter_lpc.language()returns atree_sitter.Languagefor thetree-sitterPython package. - Node.js (
bindings/node/) — default export is a binding object whoselanguageproperty plugs into thetree-sitternpm package.
Contributing
See CONTRIBUTING.md for the dev environment,
grammar workflow, and per-binding test invocations.
License
MIT.
Metadata
Release files for tree-sitter-lpc 0.1.0
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_lpc-0.1.0.tar.gz | 149.4 kB | With provenance | Details for tree_sitter_lpc-0.1.0.tar.gz |
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| tree_sitter_lpc-0.1.0-cp310-abi3-win_amd64.whl | CPython 3.10 | abi3 | Windows x86-64 | Details for tree_sitter_lpc-0.1.0-cp310-abi3-win_amd64.whl |
| tree_sitter_lpc-0.1.0-cp310-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.10 | abi3 | Linux glibc 2.17+ x86-64, Linux glibc 2.5+ x86-64 | Details for tree_sitter_lpc-0.1.0-cp310-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
| tree_sitter_lpc-0.1.0-cp310-abi3-macosx_11_0_arm64.whl | CPython 3.10 | abi3 | macOS 11.0+ ARM64 | Details for tree_sitter_lpc-0.1.0-cp310-abi3-macosx_11_0_arm64.whl |
| tree_sitter_lpc-0.1.0-cp310-abi3-macosx_10_9_x86_64.whl | CPython 3.10 | abi3 | macOS 10.9+ x86-64 | Details for tree_sitter_lpc-0.1.0-cp310-abi3-macosx_10_9_x86_64.whl |
Total release size: 421.9 kB
Release files / tree_sitter_lpc-0.1.0.tar.gz
| Download URL | tree_sitter_lpc-0.1.0.tar.gz |
|---|---|
| Size | 149.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fd598d212e35b529781d5c39cf4f79636c4a873a4cb199a76db7d50e14e5f460
|
|
BLAKE2b-256 checksum How to use checksums |
125e86e7077f3e07ffb8711963c06c1714955a848414d56843bf1ae480edb18a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.
Transparency logRelease files / tree_sitter_lpc-0.1.0-cp310-abi3-win_amd64.whl
| Download URL | tree_sitter_lpc-0.1.0-cp310-abi3-win_amd64.whl |
|---|---|
| Size | 65.4 kB |
| Tags | CPython 3.10 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
9bb63da2bdafe6b0abd9d60f4287d1d6192b814287aa73bec14de07b1ecf06b7
|
|
BLAKE2b-256 checksum How to use checksums |
8fbd9f063959663282be0fd7e3d3aada5ca3d64f6a04abe26633a453e30e781d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.
Transparency logRelease files / tree_sitter_lpc-0.1.0-cp310-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | tree_sitter_lpc-0.1.0-cp310-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 78.1 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 Linux glibc 2.5+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
de6764df23e3386edf2fb4df8c32402aca9f24ff324049f5cdcc2683cdf27a17
|
|
BLAKE2b-256 checksum How to use checksums |
51bab859d2823ed57790b09998eea9cd0ee3a59702cc20873497e1638f9da20c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.
Transparency logRelease files / tree_sitter_lpc-0.1.0-cp310-abi3-macosx_11_0_arm64.whl
| Download URL | tree_sitter_lpc-0.1.0-cp310-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 66.5 kB |
| Tags | CPython 3.10 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
b48cd9f68db9f1ee70d8988268ac780683d91958ac5633b8e524c71c1aa29048
|
|
BLAKE2b-256 checksum How to use checksums |
37423a570a54f92c4303093ca5ad8638dfc06d10f29e468da4b486a45b999ef0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.
Transparency logRelease files / tree_sitter_lpc-0.1.0-cp310-abi3-macosx_10_9_x86_64.whl
| Download URL | tree_sitter_lpc-0.1.0-cp310-abi3-macosx_10_9_x86_64.whl |
|---|---|
| Size | 62.6 kB |
| Tags | CPython 3.10 abi3 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
4209631033aee2955aa855749d832390a0346650fde501f9abe1e4ff73a6f73d
|
|
BLAKE2b-256 checksum How to use checksums |
db17b021f3c05333c9c28af87aaeed722585077ae2cc6e90a42dd2ca2201f4a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.
Transparency logSecurity for tree-sitter-lpc 0.1.0
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.
Full provenance
All 5 files in this release have been uploaded with provenance metadata.
Attestation for tree_sitter_lpc-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.
Transparency logA 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.