Big News: Socket Selected for OpenAI's Cybersecurity Grant Program.Details
Socket
Book a DemoSign in
Socket

@polychromatist/tree-sitter-luau

Package Overview
Dependencies
Maintainers
0
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polychromatist/tree-sitter-luau

Luau grammar for tree-sitter

latest
Source
npmnpm
Version
0.2.1
Version published
Maintainers
0
Created
Source

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.

Keywords

incremental

FAQs

Package last updated on 12 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts