4 releases
0.1.3 | Jul 28, 2024 |
---|---|
0.1.2 | Jul 28, 2024 |
0.1.1 | Jul 28, 2024 |
0.1.0 | Jul 28, 2024 |
#180 in Text editors
34 downloads per month
Used in md-tui
695KB
27K
SLoC
tree-sitter-luau-fork
Luau grammar for tree-sitter.
Adapted from the syntax spec
Fork from tree-sitter-luau
lib.rs
:
This crate provides luau language support for the tree-sitter parsing library.
Typically, you will use the language function to add this language to a tree-sitter Parser, and then use the parser to parse some code:
let code = "";
let mut parser = tree_sitter::Parser::new();
parser.set_language(tree_sitter_luau::language()).expect("Error loading luau grammar");
let tree = parser.parse(code, None).unwrap();
Dependencies
~3–4.5MB
~80K SLoC