port lexer to cpp
This commit is contained in:
parent
cacc641378
commit
b3b21f3101
13 changed files with 276 additions and 32 deletions
16
binding.gyp
Normal file
16
binding.gyp
Normal 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" ],
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in a new issue