Skip to content

Latest commit

 

History

315 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

🌳 RISC-V assembly grammar for tree-sitter.

Topics

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Contributors

Languages