Skip to main content

RSM grammar for tree-sitter

Project description

tree-sitter-rsm

This is the reference implementation of the Readable Science Markup (RSM) language, written as a tree-sitter grammar. RSM is one of the cornerstone components of the Aris system. For more information see here.

Development

The two main files are grammar.js and src/scanner.c which implement the language grammar and the external scanner, respectively. The tests are defined in test/corpus/*.txt, and can be executed via tree-sitter test.

Compile the grammar locally by executing

tree-sitter generate --abi 14

and build locally by executing

tree-sitter build

Once development of a feature is complete, submit a PR.

Publishing

The grammar is released as a PyPI package by following these intructions. At the time of writing, a summarized version of the instructions are the following:

  • Bump the grammar version with tree-sitter <version> and commit the changes generated.
  • Tag the commit with git tag -- v<version>.
  • Push the commit and tag with git push --tags origin main.
  • The publish.yml GitHub workflow will take care of the rest.

Project details


Download files

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

Source Distribution

tree_sitter_rsm-0.5.0.tar.gz (59.8 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

tree_sitter_rsm-0.5.0-cp38-abi3-win_arm64.whl (32.5 kB view details)

Uploaded CPython 3.8+Windows ARM64

tree_sitter_rsm-0.5.0-cp38-abi3-win_amd64.whl (33.8 kB view details)

Uploaded CPython 3.8+Windows x86-64

tree_sitter_rsm-0.5.0-cp38-abi3-musllinux_1_2_x86_64.whl (45.6 kB view details)

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

tree_sitter_rsm-0.5.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (56.3 kB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ ARM64

tree_sitter_rsm-0.5.0-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (49.2 kB view details)

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

tree_sitter_rsm-0.5.0-cp38-abi3-macosx_11_0_arm64.whl (32.4 kB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

tree_sitter_rsm-0.5.0-cp38-abi3-macosx_10_9_x86_64.whl (30.6 kB view details)

Uploaded CPython 3.8+macOS 10.9+ x86-64

File details

Details for the file tree_sitter_rsm-0.5.0.tar.gz.

File metadata

  • Download URL: tree_sitter_rsm-0.5.0.tar.gz
  • Upload date:
  • Size: 59.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for tree_sitter_rsm-0.5.0.tar.gz
Algorithm Hash digest
SHA256 d1dbc03398fcc28d0f2c6db39551678901fa5cc1453329df60272f1f237d267f
MD5 e885d5384ede575c29f3535c9ecae20a
BLAKE2b-256 0d3670ed21deebadbba7e5fe9bb65d934b1067fd4c883fc905ce2456292bab78

See more details on using hashes here.

File details

Details for the file tree_sitter_rsm-0.5.0-cp38-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for tree_sitter_rsm-0.5.0-cp38-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 1e256aa296d3128037d7507f0edfb132246d0283994ef36a355274e7f3e5f13d
MD5 4e6635517a928ced21ddbff478b02e11
BLAKE2b-256 956722d23c38e85be190e3bdac0972df92019a4905e06666493e43114f2eb9ea

See more details on using hashes here.

File details

Details for the file tree_sitter_rsm-0.5.0-cp38-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for tree_sitter_rsm-0.5.0-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 d8d1258ed5be24ffb99276c3ca59ebdee3604df6e2c6667fd49eb0bf444d985b
MD5 6b3257dbe8496da5b067ee9d032edd09
BLAKE2b-256 46c03af2ccd7bf8638508cbadc69538d6a3a917972cc98c6cf8d646cb50293b8

See more details on using hashes here.

File details

Details for the file tree_sitter_rsm-0.5.0-cp38-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for tree_sitter_rsm-0.5.0-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 62dca781be7fb572b751d2f65f6449ee0d593c7a7fa0763bd58357f9cfdc1dc3
MD5 99c4237c44b6f52eb9b497d8d19e856a
BLAKE2b-256 6b53ab304662908e116cb29b6ab6c4a8a43bcda5f981e4456f59e0787d7dc793

See more details on using hashes here.

File details

Details for the file tree_sitter_rsm-0.5.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for tree_sitter_rsm-0.5.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 012f97a66640e3d2a29f91281943b0f7c589913e32cbf8c689d62a0ee3c4d284
MD5 638cf05da7ffce534f76d468070b4fd1
BLAKE2b-256 35866a253f0d499e4b640d8ed5c23250ff6eed09890b2c479aa4d505e761ca33

See more details on using hashes here.

File details

Details for the file tree_sitter_rsm-0.5.0-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for tree_sitter_rsm-0.5.0-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 31311d236a80a9d442a942ee4512999f90c16fbde42440cc1925e0f731e02733
MD5 8830a62840e10fd3a704b1af97299907
BLAKE2b-256 c62f25d7f4ac4792a0e224c177c28647623848ff6a1088216c7dd7f68615dabe

See more details on using hashes here.

File details

Details for the file tree_sitter_rsm-0.5.0-cp38-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tree_sitter_rsm-0.5.0-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e84af19e6b1e9565d2e6cb6e6ecf5b927102385ca654270c3bc061d9b3420915
MD5 23a22d036d0d692b2e7422bfb4b23767
BLAKE2b-256 8948aecaad5a456e3544c6e0ef23d47d4512877f52f55871fcb0d98385116b3e

See more details on using hashes here.

File details

Details for the file tree_sitter_rsm-0.5.0-cp38-abi3-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for tree_sitter_rsm-0.5.0-cp38-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 07624c520f77dd7a52332dc1c3ef81d00a2fbff39ca159a55e30ac397b0be6b1
MD5 44f9284cff82744d98a1f7159f135aaa
BLAKE2b-256 7a7567fec2a63ccf94e54ca92305b1d8669a1dfffedc8cf3075eb7341ae1fd9c

See more details on using hashes here.

Supported by

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