Crate liva_parser[−][src]
Expand description
The parser for the liva source code
Example
use std::error::Error;
use liva_parser::print_ast;
fn main() -> Result<(), Box<dyn Error>> {
print_ast("lib.lv");
Ok(())
}
Modules
Logic for expressions and their representation
Collection of all possible literals
Collection of all statements
Collection of all parsers and structs which represent tokens, operators and keywords
Functions
Entry point to the parser, which parse the liva language
Parse a single statement into a Statement
Prints the AST of the parsed liva source code