Fix: Generate CommonJS parser to align with grammar

This commit is contained in:
2025-09-26 07:59:56 -07:00
parent d0a8e1dc08
commit b31cd378f7

View File

@@ -7,7 +7,7 @@
"hi2js": "./cli.js" "hi2js": "./cli.js"
}, },
"scripts": { "scripts": {
"build-parser": "npx nearleyc grammar.ne -o grammar.js --esm", "build-parser": "npx nearleyc grammar.ne -o grammar.js",
"test": "node test_runner.js" "test": "node test_runner.js"
}, },
"dependencies": { "dependencies": {