Bootstrap tree-sitter parser architecture

This commit is contained in:
Bruno BELANYI 2022-06-01 16:23:43 +02:00
parent 4b1d0f7744
commit 30b2e50367
12 changed files with 638 additions and 0 deletions

19
binding.gyp Normal file
View file

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