Tree sitter grammar for the 12d Programming Language (12dpl).
Run npm install
which will install all dependencies including the tree sitter
cli.
Run tree-sitter test
.
For more information, refer to tree-sitter test command
Build the parser using a C compiler like gcc
.
gcc -o parser.so -shared src/parser.c -Os -I./src