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.3.0.tar.gz (64.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-1.3.0-cp313-cp313-win_arm64.whl (37.6 kB view details)

Uploaded CPython 3.13Windows ARM64

tree_sitter_rsm-1.3.0-cp313-cp313-win_amd64.whl (39.1 kB view details)

Uploaded CPython 3.13Windows x86-64

tree_sitter_rsm-1.3.0-cp313-cp313-musllinux_1_2_x86_64.whl (54.6 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

tree_sitter_rsm-1.3.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (66.4 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

tree_sitter_rsm-1.3.0-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (58.1 kB view details)

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

tree_sitter_rsm-1.3.0-cp313-cp313-macosx_11_0_arm64.whl (38.0 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

tree_sitter_rsm-1.3.0-cp313-cp313-macosx_10_13_x86_64.whl (35.7 kB view details)

Uploaded CPython 3.13macOS 10.13+ x86-64

tree_sitter_rsm-1.3.0-cp39-cp39-win_arm64.whl (37.6 kB view details)

Uploaded CPython 3.9Windows ARM64

tree_sitter_rsm-1.3.0-cp39-cp39-win_amd64.whl (39.1 kB view details)

Uploaded CPython 3.9Windows x86-64

tree_sitter_rsm-1.3.0-cp39-cp39-musllinux_1_2_x86_64.whl (54.2 kB view details)

Uploaded CPython 3.9musllinux: musl 1.2+ x86-64

tree_sitter_rsm-1.3.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (66.1 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ ARM64

tree_sitter_rsm-1.3.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (57.8 kB view details)

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

tree_sitter_rsm-1.3.0-cp39-cp39-macosx_11_0_arm64.whl (38.0 kB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

tree_sitter_rsm-1.3.0-cp39-cp39-macosx_10_9_x86_64.whl (35.7 kB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

File details

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

File metadata

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

File hashes

Hashes for tree_sitter_rsm-1.3.0.tar.gz
Algorithm Hash digest
SHA256 17c22603dd7fe629563df82781729e8dc517c8898cec139edc23869c4a7b9c29
MD5 8499651472650b49e7ae1cf41dbe6130
BLAKE2b-256 b9cbe1eba96e471527f6ca01bd701a8affa14f369a9c364098f67c49a182b6a9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter_rsm-1.3.0-cp313-cp313-win_arm64.whl
Algorithm Hash digest
SHA256 ef0aeb477237d0cf2246c08708c5fd508da38e576f22c55ef74e9f4d083c6daf
MD5 a728afb7bb9ef014f8229e2b974fc745
BLAKE2b-256 2425ff8845302355937820f4125e964eee0100008d052632d9dd4244071bafa9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter_rsm-1.3.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 80ff73685665cf01f1940afb4275f6f76bf7f1715e304423f4b3489d2c3ed3d0
MD5 23523ac220c2dc558afbdc65eccbe093
BLAKE2b-256 634d1bf12c7c974cef2e1ccd752a7b6d3214bed8d87dbd38c173fe67dc68a903

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter_rsm-1.3.0-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 3312ad058f6ed1c13bc677e960cbff259f55f66c582b5b8f17bb40163d53dc16
MD5 6cdf7e5055f0c42030ed5f99943265e1
BLAKE2b-256 227c8898a37293686663cfd6f0a13ccfbdc87110fb4d6f4d4ff82ba673e66be2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter_rsm-1.3.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6808f0931ed7ba819e98cace1f5ec6a1299a2152d73601d25cc32faa630f9702
MD5 5c8d65daca56990830ac6b1c7f031065
BLAKE2b-256 7b5418db44ea04b3bc67123718626a17ff34a94751891761abf55d0a79c2caa8

See more details on using hashes here.

File details

Details for the file tree_sitter_rsm-1.3.0-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.3.0-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1d9e701bee0d9012eb636a0a7c741b4a29f587ff9f23ad3ef14cf4ad291cb3ee
MD5 809430bb5d44ca538d48c829a476c40e
BLAKE2b-256 09d9e8551ff17b729e05b375aa56545bf876f771e04a4761a5d69b68ce923d59

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter_rsm-1.3.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e31b421cee6a7708c8274f1b1e36bbe23af8a5d7231b177d1b969af299092064
MD5 8b2f28bb5fd72b183c446748eab031f0
BLAKE2b-256 b793925690fc638efd1e3307747ce18d7a05d5be328796ace230fd56faf245fc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter_rsm-1.3.0-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 2b3f05222996d1fcca337343a9d3fe2546a6635d16e4ed5d90688258c35dca3a
MD5 5da64d254e4e426b1837b2d024476b42
BLAKE2b-256 3875b1a5572ed27eae2f699e46094d3192592804f64cf7f6f7e59e273f5c0623

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter_rsm-1.3.0-cp39-cp39-win_arm64.whl
Algorithm Hash digest
SHA256 5f64809bbba3028d6cd56cfb60732c500f95d8a275e887587330cdb862957961
MD5 82738b295966cf05cb92f43e3de46bda
BLAKE2b-256 cd9afe5905558c30f77b1ccf6970fc9b0a1587243d6c3101887fbbfaff105918

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter_rsm-1.3.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 1f2b87550550db91eb58a6b34d86ff5dc985b92af51e5a19f21ed56e616a25f9
MD5 a722fefa3f1900cb25cf2032692efd9e
BLAKE2b-256 cb45268e57cb7988293ecbcb09be0b293a8082d654277dfcd34556a7b5aadd17

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter_rsm-1.3.0-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 3c44809c80f9864d0a004032017180c45ca52aa39cec9ae7c7490adf636b7bdc
MD5 39d32f3df1ae07c649cc9c0bec2227fb
BLAKE2b-256 9e6f2db447162aed8a07dde18c0778738c8927c25f370e1810a1113837f004cf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter_rsm-1.3.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 69f367f48a476e126f32dc339f5b4194844f27496e33310789c4b7eb2e46cfa1
MD5 284529cfa042dc4283d2cd24ebf285b1
BLAKE2b-256 2fde8d6de1c8f0298bee26b747081f8cb2c3bd0b0efa44270581b72f1196c26c

See more details on using hashes here.

File details

Details for the file tree_sitter_rsm-1.3.0-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.3.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 caeeea19d5ca8f288490137466983faa5aa760004dd28a523c8566464adf2e7b
MD5 4845d236a9c633d5775ab0b5e62ca47b
BLAKE2b-256 1d23955a2b84361600d96f72b5f1b8c40b6448e3ef28e72095346fbb9e9143ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter_rsm-1.3.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3e356f5a5c568594a4ba9eab7d246cb33943d1f3d8f3bd37ec2b2fd837dc9a30
MD5 e30a1ea308684dcc4a068d42e3450740
BLAKE2b-256 c3c9904259144ae8edf416426e61562c46f5f013449e99052e8961ce5c5413ee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter_rsm-1.3.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d3397cafe833f554bd3ebe8038f63818a4c0409b4e66fa7f9a19f240050085c7
MD5 dbdf86429e7b7252b5a528505eb07247
BLAKE2b-256 3e44b07de29b8c7bd7b8cef7a1da98c1f8b6bfbf04f9c5ce2281633694324a12

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