A syntax parser for the RISC-V Instruction Set Architecture.
Project description
tree-sitter-riscv
A tree-sitter parser for the RISC-V and MIPS assembly languages, aiming for covering most features of all major assemblers and simulators
Quick Start
This parser is available for JavaScript, Python, Rust, Go, and C, and integrates with NeoVim.
See Editor Integration and Language Integration for installation and integration instructions.
Examples
Syntax highlighting for various grammar features:
Instructions |
Directives |
Expressions |
Labels |
Comments |
Macros |
Documentation
- Editor Integration - NeoVim installation
- Language Integration - JavaScript, Python, Rust, Go, C
- AST Reference - Node type reference
- Development - Building and testing
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tree_sitter_riscv-0.3.0.tar.gz.
File metadata
- Download URL: tree_sitter_riscv-0.3.0.tar.gz
- Upload date:
- Size: 57.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
598d7fe06c5c0a436744ddcb56dd632e5aad3d66504c704a2d20c55d4174b0db
|
|
| MD5 |
bd930c4d80871bf8a25eb1638bcf8614
|
|
| BLAKE2b-256 |
e851f95964e441ebb8f9469dcd8ba7d3b7ee83ec463db32139043e5154cc93f9
|
File details
Details for the file tree_sitter_riscv-0.3.0-cp39-abi3-win_arm64.whl.
File metadata
- Download URL: tree_sitter_riscv-0.3.0-cp39-abi3-win_arm64.whl
- Upload date:
- Size: 44.8 kB
- Tags: CPython 3.9+, Windows ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
efca1c4c430eecc1bb3a23fcbed76a802367fa51d77a5b2b2d7b5673584a3f4a
|
|
| MD5 |
ae5370e34be52541d44668d51c2bcd3f
|
|
| BLAKE2b-256 |
8f268ef604259fe15609bb0d22e4e5a04fb419561918ce3420a7d6ccdf9211af
|
File details
Details for the file tree_sitter_riscv-0.3.0-cp39-abi3-win_amd64.whl.
File metadata
- Download URL: tree_sitter_riscv-0.3.0-cp39-abi3-win_amd64.whl
- Upload date:
- Size: 47.4 kB
- Tags: CPython 3.9+, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
626caf6144d72a28c335506a2558c85d16014fc11c155f47c8af97bbf5b272a5
|
|
| MD5 |
53a43f4c9c48c87bd2d7b98e20fe2f01
|
|
| BLAKE2b-256 |
0b9dc9775bb005d058015e7e6a087f0490d47faa52b98592567565d551b3c688
|
File details
Details for the file tree_sitter_riscv-0.3.0-cp39-abi3-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: tree_sitter_riscv-0.3.0-cp39-abi3-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 61.9 kB
- Tags: CPython 3.9+, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e0f500976d0a9e5e868b29c41af9474c5a266a3bf7c7674fc6e1ee87ae909ff0
|
|
| MD5 |
6342c5119750ed79f7587f5aab5d58f2
|
|
| BLAKE2b-256 |
a4abb4efa562bf8753a8a377b517f5e5f6bf75850ca391638e546530c3bb8f69
|
File details
Details for the file tree_sitter_riscv-0.3.0-cp39-abi3-musllinux_1_2_aarch64.whl.
File metadata
- Download URL: tree_sitter_riscv-0.3.0-cp39-abi3-musllinux_1_2_aarch64.whl
- Upload date:
- Size: 62.2 kB
- Tags: CPython 3.9+, musllinux: musl 1.2+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
01f4f66b60e19f35313c9b4db97175e2994a9c0b57a6cc6e527e90976c96a815
|
|
| MD5 |
9695a12158b16b4137dfd45afca5b557
|
|
| BLAKE2b-256 |
c368e1e5955bc88ff16ef0e1d81c743b2d7d62106d5962d9bb52a4141bb2ed7a
|
File details
Details for the file tree_sitter_riscv-0.3.0-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.
File metadata
- Download URL: tree_sitter_riscv-0.3.0-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
- Upload date:
- Size: 62.9 kB
- Tags: CPython 3.9+, manylinux: glibc 2.17+ ARM64, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
de45bbcce7e1ae1a8da7398ade570b3ffdf4d98cf327e2896d78a40d0cafd5c4
|
|
| MD5 |
8b0b034e652d985d0df4e67ebe4b3e74
|
|
| BLAKE2b-256 |
8be09c00a25035c3e4e18826ac2756e1bd37b4e34be4d23d3ce5f6429db5448c
|
File details
Details for the file tree_sitter_riscv-0.3.0-cp39-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.
File metadata
- Download URL: tree_sitter_riscv-0.3.0-cp39-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
- Upload date:
- Size: 62.1 kB
- Tags: CPython 3.9+, manylinux: glibc 2.28+ x86-64, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
edcd57bd0a2bcdd7ede20e019513be4c1b3a65536fe55ee1d19987ba54808f54
|
|
| MD5 |
ece1444a7474845a701084a15e8a5a70
|
|
| BLAKE2b-256 |
6d3b88e0abf4c2398a77a44894f4ec660ed7727c0f67b5ef313960706b52b992
|
File details
Details for the file tree_sitter_riscv-0.3.0-cp39-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: tree_sitter_riscv-0.3.0-cp39-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 45.8 kB
- Tags: CPython 3.9+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c9e51bff5ff64da09539f568e69f5c8241b97622da8236b739c4eb276df94cce
|
|
| MD5 |
d9b0fce9315984ae8fdcd4eb6518d027
|
|
| BLAKE2b-256 |
4b830370a47e3e793acc4a78994f80c015a5f47423c06c15a63a9328c97f522e
|
File details
Details for the file tree_sitter_riscv-0.3.0-cp39-abi3-macosx_10_9_x86_64.whl.
File metadata
- Download URL: tree_sitter_riscv-0.3.0-cp39-abi3-macosx_10_9_x86_64.whl
- Upload date:
- Size: 43.7 kB
- Tags: CPython 3.9+, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b842ad92d0611446b1eeb0a5c1e60f5acce8984f13f346fafa8f4c70fe45d13
|
|
| MD5 |
200778a279e2f4b65b0f5c5d72f837a3
|
|
| BLAKE2b-256 |
b84a56af17f5fc28cd51ff6998cb88fe2ee39a9f8c4affdb71afd7b159111df4
|