mirror of
https://github.com/hi-language/transpiler.git
synced 2026-01-14 00:28:05 +00:00
Feat: Add nearley and moo for AST parsing
This commit is contained in:
@@ -7,6 +7,11 @@
|
|||||||
"hi2js": "./cli.js"
|
"hi2js": "./cli.js"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "node test_runner.js"
|
"build-parser": "nearleyc grammar.ne -o grammar.js",
|
||||||
|
"test": "npm run build-parser && node test_runner.js"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"moo": "^0.5.2",
|
||||||
|
"nearley": "^2.20.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user