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

rigz_ast

AST parser for the rigz programming language

3 releases (breaking)

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

#217 in Programming languages

Download history 267/week @ 2024-10-28

267 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
~80K SLoC