feat: add base parser

Signed-off-by: kjuulh <contact@kjuulh.io>

feat: with basic assignment

Signed-off-by: kjuulh <contact@kjuulh.io>

feat: remove target

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2023-07-03 20:16:09 +02:00
commit 67e3f73ab4
18 changed files with 4113 additions and 0 deletions

20
binding.gyp Normal file
View File

@@ -0,0 +1,20 @@
{
"targets": [
{
"target_name": "tree_sitter_rhai_binding",
"include_dirs": [
"<!(node -e \"require('nan')\")",
"src"
],
"sources": [
"bindings/node/binding.cc",
"src/parser.c",
"src/scanner.c",
# If your language uses an external scanner, add it here.
],
"cflags_c": [
"-std=c99",
]
}
]
}