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

16
binding.gyp Normal file
View file

@ -0,0 +1,16 @@
{
"targets": [
{
"target_name": "asajs-compiler",
"sources": [
"src/native/main.cc",
],
"dependencies": [
"<!(node -p \"require('node-addon-api').targets\"):node_addon_api",
],
"cflags_cc": [ "-std=c++17" ],
}
]
}