port lexer to cpp

This commit is contained in:
Asaki Yuki 2026-01-18 20:46:18 +07:00
parent cacc641378
commit b3b21f3101
13 changed files with 276 additions and 32 deletions

View file

@ -22,9 +22,9 @@
"scripts": {
"build": "tsc",
"dev": "tsc --watch",
"test": "bun test/app.ts",
"test:watch": "bun --watch test/app.ts",
"prefetch": "bun scripts/prefetch",
"native:build": "node-gyp build",
"native:rebuild": "node-gyp rebuild",
"vanilla:defs": "bun scripts/vanilladefs",
"gen:enums": "bun scripts/enum",
"gen:items": "bun scripts/items",
@ -32,9 +32,13 @@
},
"devDependencies": {
"@types/node": "^25.0.3",
"node-api-headers": "^1.7.0",
"typescript": "^5.9.3"
},
"dependencies": {
"jsonc-parser": "^3.3.1"
"@types/bindings": "^1.5.5",
"bindings": "^1.5.0",
"jsonc-parser": "^3.3.1",
"node-addon-api": "^8.5.0"
}
}