0.2.1 • Published 10 months ago

@polychromatist/tree-sitter-luau v0.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

tree-sitter-luau

These are the generated node and web bindings for tree-sitter-luau, my tree-sitter parser for the Luau scripting language.

Usage

node

const Parser = require("tree-sitter");
const Luau = require("@polychromatist/tree-sitter-luau");

const parser = new Parser();
parser.setLanguage(Luau);

// const tree = parser.parse("print(`abc{string.char(100)}efg`)");

WebAssembly

This package contains a .wasm module that can be used with the WebAssembly bindings.

Note about Documentation

As of October 2024, node-tree-sitter is poorly documented. However, the interface declaration and the tests can be used as ad hoc references.

0.2.1

10 months ago

0.2.0

10 months ago