Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 514 Bytes

README.md

File metadata and controls

15 lines (13 loc) · 514 Bytes

tree-sitter-terra-rewrite

Terra grammar for tree-sitter

Install

Run the following to install the required packages and generates the C-parser file.

npm install
tree-sitter generate

Next, you can e.g. build a WebAssembly version of the parser, see tree-sitter-build

tree-sitter build --wasm --output ./build/parser.wasm

Checkout the tree-sitter documentation for other formats