Feat: Replace Nearley with Chevrotain and remove build script

This commit is contained in:
2025-09-26 08:04:24 -07:00
parent 4e0782831e
commit f7c7856961

View File

@@ -7,14 +7,10 @@
"hi2js": "./cli.js" "hi2js": "./cli.js"
}, },
"scripts": { "scripts": {
"build-parser": "npx nearleyc grammar.ne -o grammar.js",
"test": "node test_runner.js" "test": "node test_runner.js"
}, },
"dependencies": { "dependencies": {
"moo": "^0.5.2", "chevrotain": "^11.0.3"
"nearley": "^2.20.1"
}, },
"devDependencies": { "devDependencies": {}
"nearley": "^2.20.1"
}
} }