mirror of
https://github.com/soconnor0919/tree-sitter-hack-assembly.git
synced 2026-02-04 23:56:33 -05:00
Initial commit: Tree-sitter grammar for Hack Assembly
This commit is contained in:
37
tree-sitter.json
Normal file
37
tree-sitter.json
Normal file
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"$schema": "https://tree-sitter.github.io/tree-sitter/assets/schemas/config.schema.json",
|
||||
"grammars": [
|
||||
{
|
||||
"name": "hack_assembly",
|
||||
"camelcase": "HackAssembly",
|
||||
"title": "Hack Assembly",
|
||||
"scope": "source.hack_assembly",
|
||||
"file-types": ["asm"],
|
||||
"injection-regex": "^hack[-_]?assembly$|^asm$",
|
||||
"class-name": "TreeSitterHackAssembly"
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"version": "1.0.0",
|
||||
"license": "MIT",
|
||||
"description": "A Tree-sitter grammar for parsing Hack Assembly language (nand2tetris)",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Sean O'Connor",
|
||||
"email": "sean@soconnor.dev"
|
||||
}
|
||||
],
|
||||
"links": {
|
||||
"repository": "https://github.com/soconnor0919/nand2tetris-zed"
|
||||
}
|
||||
},
|
||||
"bindings": {
|
||||
"c": true,
|
||||
"go": false,
|
||||
"node": true,
|
||||
"python": false,
|
||||
"rust": true,
|
||||
"swift": false,
|
||||
"zig": false
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user