#ast #ast-parser #rigz #programming #language

rigz_ast

AST parser for the rigz programming language

3 releases (breaking)

0.4.0 Nov 4, 2024
0.2.0 Oct 30, 2024
0.1.0 Oct 29, 2024

#346 in Programming languages

28 downloads per month
Used in 3 crates (2 directly)

MIT license

84KB
2K SLoC

rigz_ast

Generate an AST for a given input.

Usage

// Create a parser
fn parse() {
    let input = "2 + 2";
    let mut parser = Parser::prepare(input).expect("Invalid Tokens");
    let program = parser.parse().expect("Failed to parse");
}

Dependencies

~5.5MB
~81K SLoC