tree-sitter-riscv

Crates.iotree-sitter-riscv
lib.rstree-sitter-riscv
version0.3.0
created_at2025-12-02 22:23:43.411033+00
updated_at2025-12-02 22:23:43.411033+00
descriptionA syntax parser for the RISC-V Instruction Set Architecture.
homepage
repositoryhttps://github.com/omeyenburg/tree-sitter-riscv
max_upload_size
id1962783
size1,182,637
Oskar Meyenburg (omeyenburg)

documentation

README

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

Commit count: 0

cargo fmt