tree-sitter-toolang
Tree-sitter parser for Toolang .too
files, with Python and Rust bindings and editor queries.
Python
=
=
The package exposes HIGHLIGHTS_QUERY, INJECTIONS_QUERY, INDENTS_QUERY,
OUTLINE_QUERY, and TAGS_QUERY as query strings.
Rust
let mut parser = new;
parser.set_language?;
let tree = parser.parse.unwrap;
Development
Development requires Node.js, a C compiler, Python, and Rust. Run these checks from a configured checkout:
See the publishing guide for release instructions.