Function parse_scenario_from_file
Source pub fn parse_scenario_from_file(
filename: &str,
) -> Result<(Vec<AST>, Vec<String>)>
3fn main() {
4 let (ast, parse_error) = parse_scenario_from_file("assets/script_2.rpy").unwrap();
5
6 for e in parse_error {
7 println!("error: {:?}", e);
8 }
9
10 println!("{}", ASTVec(&ast));
11}