/tree-sitter-12dpl

12d Programming Language grammar for tree-sitter

Primary LanguageCMIT LicenseMIT

tree-sitter-12dpl

Tree sitter grammar for the 12d Programming Language (12dpl).

Installing

Run npm install which will install all dependencies including the tree sitter cli.

Executing Tests

Run tree-sitter test.

For more information, refer to tree-sitter test command

Building

Build the parser using a C compiler like gcc.

gcc -o parser.so -shared src/parser.c -Os -I./src