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 npx tree-sitter test.

Compile the grammar locally by executing

npx tree-sitter generate --abi 14

and build locally by executing

npx 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 npx tree-sitter version <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-1.0.3.tar.gz (62.3 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-1.0.3-cp313-cp313-win_arm64.whl (34.9 kB view details)

Uploaded CPython 3.13Windows ARM64

tree_sitter_rsm-1.0.3-cp313-cp313-win_amd64.whl (36.3 kB view details)

Uploaded CPython 3.13Windows x86-64

tree_sitter_rsm-1.0.3-cp313-cp313-musllinux_1_2_x86_64.whl (51.5 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

tree_sitter_rsm-1.0.3-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (61.7 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

tree_sitter_rsm-1.0.3-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (54.9 kB view details)

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

tree_sitter_rsm-1.0.3-cp313-cp313-macosx_11_0_arm64.whl (35.0 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

tree_sitter_rsm-1.0.3-cp313-cp313-macosx_10_13_x86_64.whl (33.0 kB view details)

Uploaded CPython 3.13macOS 10.13+ x86-64

tree_sitter_rsm-1.0.3-cp39-cp39-win_arm64.whl (34.9 kB view details)

Uploaded CPython 3.9Windows ARM64

tree_sitter_rsm-1.0.3-cp39-cp39-win_amd64.whl (36.3 kB view details)

Uploaded CPython 3.9Windows x86-64

tree_sitter_rsm-1.0.3-cp39-cp39-musllinux_1_2_x86_64.whl (51.1 kB view details)

Uploaded CPython 3.9musllinux: musl 1.2+ x86-64

tree_sitter_rsm-1.0.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (61.4 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ ARM64

tree_sitter_rsm-1.0.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (54.6 kB view details)

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

tree_sitter_rsm-1.0.3-cp39-cp39-macosx_11_0_arm64.whl (35.0 kB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

tree_sitter_rsm-1.0.3-cp39-cp39-macosx_10_9_x86_64.whl (33.0 kB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: tree_sitter_rsm-1.0.3.tar.gz
  • Upload date:
  • Size: 62.3 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-1.0.3.tar.gz
Algorithm Hash digest
SHA256 567887e0982283a959a369363204aa44b0163532801771e53f8fa69a2190d035
MD5 8856795eb6eded8ada15f282ce91ec78
BLAKE2b-256 ee54ed0ed037ad492454e25e0afe8fd8298fc43cc63713ae1b46dd23d7be5bd7

See more details on using hashes here.

File details

Details for the file tree_sitter_rsm-1.0.3-cp313-cp313-win_arm64.whl.

File metadata

File hashes

Hashes for tree_sitter_rsm-1.0.3-cp313-cp313-win_arm64.whl
Algorithm Hash digest
SHA256 a26e3ce85f60f94576475b3485b5d066db7167431b415cdc423ef4e04ebd03ae
MD5 85d5e0901a8f666460a60b631c29e3bd
BLAKE2b-256 313bd82bffe163430a439f1911e916890afdde218aa394c1760dfa89da7ed532

See more details on using hashes here.

File details

Details for the file tree_sitter_rsm-1.0.3-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for tree_sitter_rsm-1.0.3-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 23ed8930238248ddf816693a0d06245df8a200bbfb04818d415b1b7e5281dff3
MD5 c2b1406090dba2d01857f98af0440147
BLAKE2b-256 459eb8244d4b015a133501be80bc7f28e04404a262a59b94aa814bcb344e9823

See more details on using hashes here.

File details

Details for the file tree_sitter_rsm-1.0.3-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for tree_sitter_rsm-1.0.3-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 13ad8cf1b94972b2930d1a23aabb0bbb790ea1887c7a256d63d35c8b32df1e10
MD5 5e820308c2784c769e78368167e1c450
BLAKE2b-256 7a64fa314d05fd007bc90d722fe6d5eac3c810d38a4a9045dd74c8f43c10271b

See more details on using hashes here.

File details

Details for the file tree_sitter_rsm-1.0.3-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for tree_sitter_rsm-1.0.3-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 0792fb7c3a919bcdfc0b6747986ea4afd0800d4c0a7e7da8768fce3b358a7dc7
MD5 45475fdb01d9a868c544085673e50dcf
BLAKE2b-256 3bdec4c94674f98d930050aa52699ac3b898075530188b567e3036cb181be3b7

See more details on using hashes here.

File details

Details for the file tree_sitter_rsm-1.0.3-cp313-cp313-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-1.0.3-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d812b606f52c5940f092f08bfd70d29841b24ce8837ac6ce27df2e21412181f0
MD5 d3e448c0c7db974611f9d5d78d6e3f22
BLAKE2b-256 2986ea1c4ea40506a0b8bb1db5c3bba89bd661fca21e0b3970a850a5f52c5914

See more details on using hashes here.

File details

Details for the file tree_sitter_rsm-1.0.3-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tree_sitter_rsm-1.0.3-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7d456a6ecbe5da6939755e0ebf824cedc99ebad9b3e29e508af9cf0d9a0f7e03
MD5 9d9c6459407a25988d1ba1d91097e85c
BLAKE2b-256 83a1293e11dec0bae83aeb5cf4654a3411fc83984e466d50f942a1faceddaea1

See more details on using hashes here.

File details

Details for the file tree_sitter_rsm-1.0.3-cp313-cp313-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for tree_sitter_rsm-1.0.3-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 3e3a8e5d42484615b5523f3bfafba90a032d01ef2ede17c900b4e9e98fcd5aff
MD5 0f4c25628c5372ae4eb419d94e4cb4b4
BLAKE2b-256 243492d1f58cf209f5bc550390367b05efd348e36f526e7a03bbd044e77fe7e5

See more details on using hashes here.

File details

Details for the file tree_sitter_rsm-1.0.3-cp39-cp39-win_arm64.whl.

File metadata

File hashes

Hashes for tree_sitter_rsm-1.0.3-cp39-cp39-win_arm64.whl
Algorithm Hash digest
SHA256 f385b96ed8cb26815ff74c6b5626762539d60d95ee46d55f03d7e4fb918f74a1
MD5 5d4fcf8b0267aef7d6563be6c79888c0
BLAKE2b-256 dd4bbd0bcf474fe2897213ea2c3853695c88fbda583cf5c10e9bee76dc0be815

See more details on using hashes here.

File details

Details for the file tree_sitter_rsm-1.0.3-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for tree_sitter_rsm-1.0.3-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 94cbf7439e65575f553c70ea705f8a7b6ca23fe35e8c6d36f270d05198f19be2
MD5 4dbd43b71f8e794f92487767427f3dcf
BLAKE2b-256 24966863489a07ab44946cc99e5e8f31fb5059dc4f231c0d7d71d07274c1a27e

See more details on using hashes here.

File details

Details for the file tree_sitter_rsm-1.0.3-cp39-cp39-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for tree_sitter_rsm-1.0.3-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 632c0aa6d38e8cf98f495a7b99165eef5261db4daa5a3c8f944d6c5073978519
MD5 4a39a53b0df144b1ec6d6d7cbf2a39ac
BLAKE2b-256 1f488963fc518235c6c084b928389ffb03557e0b8a98f73f540919e5a143a2b2

See more details on using hashes here.

File details

Details for the file tree_sitter_rsm-1.0.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for tree_sitter_rsm-1.0.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 741e6fcb1f2a846f7652d70ebb5509fb3d64f27e08ceeb2a0bba7ad5f40f45d1
MD5 5953d57f737e3ec17a3e6b911416223a
BLAKE2b-256 9c2b8367817606b3d8e3250a62324ccd7e2939ddbbe555220b2e81dd26751554

See more details on using hashes here.

File details

Details for the file tree_sitter_rsm-1.0.3-cp39-cp39-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-1.0.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5cbe7c18be77b8dddb6e3ae67b82194eed868ffc095a531faeb541b82d68a9a1
MD5 527b42640b8a09b11e0c925c643e6b24
BLAKE2b-256 798a0f0241224797647aab7aee47ef6cffb5b0219a0e93b983a405ed16498b51

See more details on using hashes here.

File details

Details for the file tree_sitter_rsm-1.0.3-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tree_sitter_rsm-1.0.3-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d70977a15b26ba2b3bdad7935350ca05c8265f649806ad64b8310c12f555dcde
MD5 e0f8e392d4aa2a343e8cbfb6baf35517
BLAKE2b-256 897b3d7948859a9f1443ae7d7ed5929140f48af46a4f3ee4fb35e9c69f2242cf

See more details on using hashes here.

File details

Details for the file tree_sitter_rsm-1.0.3-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for tree_sitter_rsm-1.0.3-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 83932eba3767adf30e20a8363964a4f0b038404d4114c183f66efa31b4718e01
MD5 5b23e8d19270d6d2ca8c4d2f1067bebd
BLAKE2b-256 429b008e4b34930ce92bea664c106201dc96d55d5e4ec8b20853c1519dca2101

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