Skip to main content

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

CI crates npm pypi go

Syntax highlighting in NeoVim

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

Instructions preview

Directives

Directives preview

Expressions

Expressions preview

Labels

Labels preview

Comments

Comments preview

Macros

Macros preview

Documentation

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_riscv-0.3.1.tar.gz (58.9 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_riscv-0.3.1-cp39-abi3-win_arm64.whl (49.0 kB view details)

Uploaded CPython 3.9+Windows ARM64

tree_sitter_riscv-0.3.1-cp39-abi3-win_amd64.whl (51.9 kB view details)

Uploaded CPython 3.9+Windows x86-64

tree_sitter_riscv-0.3.1-cp39-abi3-musllinux_1_2_x86_64.whl (67.3 kB view details)

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

tree_sitter_riscv-0.3.1-cp39-abi3-musllinux_1_2_aarch64.whl (67.4 kB view details)

Uploaded CPython 3.9+musllinux: musl 1.2+ ARM64

tree_sitter_riscv-0.3.1-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (68.4 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

tree_sitter_riscv-0.3.1-cp39-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (68.1 kB view details)

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

tree_sitter_riscv-0.3.1-cp39-abi3-macosx_11_0_arm64.whl (50.4 kB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

tree_sitter_riscv-0.3.1-cp39-abi3-macosx_10_9_x86_64.whl (48.4 kB view details)

Uploaded CPython 3.9+macOS 10.9+ x86-64

File details

Details for the file tree_sitter_riscv-0.3.1.tar.gz.

File metadata

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

File hashes

Hashes for tree_sitter_riscv-0.3.1.tar.gz
Algorithm Hash digest
SHA256 c6caa49b6e0b1334d7bcdffbb04d98e19becb6fbab23ceca0f7e08438e978da0
MD5 084938540fe99cf6a60259869a394e93
BLAKE2b-256 4c26f8b9867d05e899e842b094f38e5a5b43951c44f1fb446f539aba39d95dab

See more details on using hashes here.

File details

Details for the file tree_sitter_riscv-0.3.1-cp39-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for tree_sitter_riscv-0.3.1-cp39-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 b6d4e7bafad13c8e7815e987c16410428c59954588027d54cccfdb2131676bf7
MD5 683e472b950873d369d59f4ceb2749cd
BLAKE2b-256 ce080ec2825480c2b69623681b88db1463fc8a4b13fa0f89fe8e53268a7e8692

See more details on using hashes here.

File details

Details for the file tree_sitter_riscv-0.3.1-cp39-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for tree_sitter_riscv-0.3.1-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 d1f62e4361d64dade1d2fa945b3bafa7300ac60269ac19fd0613987879e2f6d7
MD5 65536baf6897c028384ea5290ff32309
BLAKE2b-256 e35646d25f022399de9826a0d9024a210801bd73bf503ed80b0a11325948caa0

See more details on using hashes here.

File details

Details for the file tree_sitter_riscv-0.3.1-cp39-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for tree_sitter_riscv-0.3.1-cp39-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 fd76872753c91aa875744a9788a8e136ad665620425cdef2c5566e06d0b9eb76
MD5 bcdf3a2c44fc5200265876e8e25a6596
BLAKE2b-256 8d6a806ab77ce98302bf998727b2c42073e5a632fb8f690829fa577a1a65ebdd

See more details on using hashes here.

File details

Details for the file tree_sitter_riscv-0.3.1-cp39-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for tree_sitter_riscv-0.3.1-cp39-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 60b27546c5451fcfa7a88a142f83e6642c086817fd143f55483fdd1a9fa3ff3a
MD5 b967bbf4acf20cbb1c9ea56ea5b42f44
BLAKE2b-256 145fead471fbdbbd9d835eba724c7eb023cd28bac001ae1689ffaa3d789f2357

See more details on using hashes here.

File details

Details for the file tree_sitter_riscv-0.3.1-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for tree_sitter_riscv-0.3.1-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a80c1fe8144c1688886e62b45d17bb5fff3cbd55fb396c75e2560db8377db181
MD5 7cf06cf1bc675913300c1cb0996bb9d0
BLAKE2b-256 525c8ebc223e343cb7a488935379ef569d428b115fe0dd2d99340e3c7fb583a1

See more details on using hashes here.

File details

Details for the file tree_sitter_riscv-0.3.1-cp39-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for tree_sitter_riscv-0.3.1-cp39-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 dddb523a5d9184f8edcb772566edf79af8ba70ad8fa0980add22469c2a6a075c
MD5 15d4cbe1a72a9c480bf8c891e7d051ab
BLAKE2b-256 98c11596ca451b95aa64da6a328910c8ed1b248aee0bb0f3ffcaa3d14686c873

See more details on using hashes here.

File details

Details for the file tree_sitter_riscv-0.3.1-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tree_sitter_riscv-0.3.1-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8ff967ff3c49e0f1f9218c82622c8c734695b00e46a0ade0b6ab8cfbbf36b2cd
MD5 d4436d8e70c7eab09dbfee9875610bed
BLAKE2b-256 cdedf53214ea8b5640d7fd7303052f572f90ca8548f2aeb2ac27ec5d5cd956c8

See more details on using hashes here.

File details

Details for the file tree_sitter_riscv-0.3.1-cp39-abi3-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for tree_sitter_riscv-0.3.1-cp39-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 76d42e986057d3390f003ad4b2173a7b62c069f790097df3f37de5d7d49886f3
MD5 878df5a97ff3b4e09c62a5ccf9b5599e
BLAKE2b-256 d351dd8de72d2cb52ebb3852131d21fb39b8cd52b37e9edfa29bfebba708281a

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