Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/SethBarberee/tree-sitter-asm
ARM/Thumb Assembly parser for treesitter (WIP)
https://github.com/SethBarberee/tree-sitter-asm
tree-sitter tree-sitter-asm tree-sitter-parser
Last synced: 21 days ago
JSON representation
ARM/Thumb Assembly parser for treesitter (WIP)
- Host: GitHub
- URL: https://github.com/SethBarberee/tree-sitter-asm
- Owner: SethBarberee
- License: mit
- Created: 2022-09-02T22:17:31.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-02-16T19:40:25.000Z (9 months ago)
- Last Synced: 2024-07-30T20:56:07.576Z (4 months ago)
- Topics: tree-sitter, tree-sitter-asm, tree-sitter-parser
- Language: C
- Homepage:
- Size: 218 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tree-sitter-asm
The start of a ARM/Thumb ASM tree-sitter parser. This isn't fully complete yet so there may be some bugs. PRs accepted.## Installation
1) Add the following snippet to your init.lua:
```
local parser_config = require "nvim-treesitter.parsers".get_parser_configs()
parser_config.arm = {
install_info = {
url = ,
files = {"src/parser.c"},
-- optional entries:
generate_requires_npm = false, -- if stand-alone parser without npm dependencies
requires_generate_from_grammar = false, -- if folder contains pre-generated src/parser.c
},
filetype = "arm", -- if filetype does not match the parser name
}
```
2) Run `TSInstallFromGrammar arm`3) Copy `queries/highlights.scm` to `/queries/after/arm/highlights.scm` (Optional, if you want the highlighting)