Parser for Integer BASIC
This is the rust binding for tree-sitter-integerbasic. To use the parser, include the following in your package's Cargo.toml
:
[]
= "0.20.10"
= "1.0.3"
Here is a trivial main.rs
example:
use tree_sitter;
use tree_sitter_integerbasic;
This should print the syntax tree
(source_file (line (linenum) (statement (statement_goto) (integer))))
For more on parsing with rust, see the general guidance here.