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.2.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.2.0-cp313-cp313-win_arm64.whl (37.7 kB view details)

Uploaded CPython 3.13Windows ARM64

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

Uploaded CPython 3.13Windows x86-64

tree_sitter_rsm-1.2.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.2.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.2.0-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (58.2 kB view details)

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

tree_sitter_rsm-1.2.0-cp313-cp313-macosx_11_0_arm64.whl (38.1 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

tree_sitter_rsm-1.2.0-cp313-cp313-macosx_10_13_x86_64.whl (35.8 kB view details)

Uploaded CPython 3.13macOS 10.13+ x86-64

tree_sitter_rsm-1.2.0-cp39-cp39-win_arm64.whl (37.7 kB view details)

Uploaded CPython 3.9Windows ARM64

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

Uploaded CPython 3.9Windows x86-64

tree_sitter_rsm-1.2.0-cp39-cp39-musllinux_1_2_x86_64.whl (54.3 kB view details)

Uploaded CPython 3.9musllinux: musl 1.2+ x86-64

tree_sitter_rsm-1.2.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.2.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (57.9 kB view details)

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

tree_sitter_rsm-1.2.0-cp39-cp39-macosx_11_0_arm64.whl (38.1 kB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

tree_sitter_rsm-1.2.0-cp39-cp39-macosx_10_9_x86_64.whl (35.8 kB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: tree_sitter_rsm-1.2.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.2.0.tar.gz
Algorithm Hash digest
SHA256 59a98d03e0a3a3b8cecdd60aaf70d78917ce54b9d056c60bd7f7acd1ca6de017
MD5 e94982d2199f1cbc4296a0f32995b87e
BLAKE2b-256 1f574f0394f779f64fef0a37d0453531ccc50fa117669dc9fed86b6a049e99b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter_rsm-1.2.0-cp313-cp313-win_arm64.whl
Algorithm Hash digest
SHA256 9785be2df75882d5faac242c37f136cfbed7611de238c0bb822734d838a30d4d
MD5 42b5e93e59301d4a556bd612c3f33889
BLAKE2b-256 2eb61d927e7d0802aad1a77c76dc24123d5bad1685618ce1078ac8f5b916553e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter_rsm-1.2.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 f5cef0c521443f13ad56ea4fb9cae85472aa799ffed74c08895035a162133c65
MD5 339bb59f55b518c11e1f2a55a0be907e
BLAKE2b-256 857b8804cf0230bab6c2defe32ccbfaf209ea40f34d8f0fac5eb8f9079805ea9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter_rsm-1.2.0-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 cf162da7aa90be46adfd7094d0c9971f34c266281e668a7c21788ed2c94ede79
MD5 5e48f2f59858796799e781e0e45e2e3e
BLAKE2b-256 ef05dde1a937d088d1f4bd811bba1857cb8e2ca227f6f85d6cd89aff80cc8bff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter_rsm-1.2.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f5813c7ca207cf050b8b4901aef1007da9dff52401bddcec5cdf7c16bc2af821
MD5 6bb0d40658dbf0939f02e8ff4d4d07a1
BLAKE2b-256 7d7535ea42108f549642ddeae03a34c87a53c7556dd76828ea1c0ad25ea39b1d

See more details on using hashes here.

File details

Details for the file tree_sitter_rsm-1.2.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.2.0-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 532b66f22a29ba931e85e05a71ff8b93db5e28282817e95319f3f9f1bf91b542
MD5 c595ad61cbd87477b6dfe25a1029ee0b
BLAKE2b-256 96d0b211e1a5d81f3fcdf8896d049a8da3ac6fa776e7633b4f1e00601be1635c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter_rsm-1.2.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bf4030033098a40b3e131604efe961b221654184be0e10c17d5ba74a744a7dbe
MD5 fa70469eedb60dca99f06fe84a905ef2
BLAKE2b-256 8af8c47324a9b45f67666cfe4ff8fc48d8e9ec61030cb175a09d6cd2befd4550

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter_rsm-1.2.0-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 6aeb178fd086aa34904b928dfd4367742a96d308298d4cd5eb5fe5e097d15452
MD5 33210ced069485f230624a66d7375cb7
BLAKE2b-256 8e1e6f977f247114208d5532426eb904588b4f0921a75ede0d3aefd12a265a35

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter_rsm-1.2.0-cp39-cp39-win_arm64.whl
Algorithm Hash digest
SHA256 a8d223c777661ed43b3146688a37b2c10f41541da08143adde505d7ec7168656
MD5 baf355ecfd39622fd4c61410e1100fd9
BLAKE2b-256 3a63b6902a408fa28ebf0deb25edd0401c19b34d39debdc864b1c71c04e9f238

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter_rsm-1.2.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 b49ee530b228e51eaee76659ca24dbfcfb7487ddd548482b3fa7f5cfee07ffce
MD5 d2eca746b5b46e836b677cad4aa0207c
BLAKE2b-256 b94c21c89c549469d9f58fef2be35029229e0ee6926762181b8ac07b6d4a4a48

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter_rsm-1.2.0-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ee9af8d7634f785db650e47f06f90f8c193d3b09e6510efaac27d230b7216601
MD5 a1b9a4ee951dbd8a9d5872950eb03433
BLAKE2b-256 bd700e634705d962d286b74a7bcf1fa55ea4ca8eb8672ec497ec455e33d6661a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter_rsm-1.2.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 93b3370cdd19a7b7f6a6a161bc8fcc4183b6ad77cc4e97ef370857ab98fd579c
MD5 416bcd0a273a2f1d5d00f43c5c6e21b9
BLAKE2b-256 41620f01cc739c9157137314dc2b2017cd6c61294463d12cfa7240913c0d884c

See more details on using hashes here.

File details

Details for the file tree_sitter_rsm-1.2.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.2.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2fb5674d942df9382dccd7f41e030721576c756350ad4d0680c0b76c7a167cf8
MD5 94ccc96a2365f7596b73f2c02208598c
BLAKE2b-256 a2e32554e09f8619389ba5394dee3cf022e1a6a923953fdc2ec123c11d37d36c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter_rsm-1.2.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ea20acf0f27031db77312aff69d3a5fc034cab419d374ee2a6f3f2d3621e1809
MD5 e26f5abf8082445786ca2861e316bdb8
BLAKE2b-256 27a1510d51812840cffa57ba61917d0041ac06d16808fce412bb4e02588a87e0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tree_sitter_rsm-1.2.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 830332214851c63fbb84de9e497c54bde8bda19357523cd20993644c0e3ace8b
MD5 d8ea46ef5bc21eb45ba514851e58ba4d
BLAKE2b-256 1027f3d8578ef859701995b414da5da9f8fc7c950bf0bf28998fe71415a51ae6

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