Skip to content

Rafael-Innecco/tree-sitter-asm

 
 

Repository files navigation

tree-sitter-asm

Generic assembly grammar for tree-sitter

Adapted to work better with ARM assembly, the changes may cause issues with other formats.

Usage with Helix-Editor

Configuration

Add the contents of helix_config/language.toml to your language.toml file, updating the "rev" field in the grammar source to the latest commit SHA. Also add the contents of the queries/asm folder to .config/helix/runtime/queries/asm in order to get syntax highlighting.

NOTE: The .scm files have only been tested with Helix, and may not work as well, if at all, in other editors like Neovim.

Setup

After the previous step, run:

  hx --grammar fetch
  hx --grammar build

About

Generic assembly grammar for tree-sitter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 25.2%
  • Makefile 19.6%
  • Rust 16.9%
  • Python 12.2%
  • Swift 8.6%
  • C 6.2%
  • Other 11.3%