plex
                                
                                
                                
                                    plex copied to clipboard
                            
                            
                            
                        supporting error recovery?
error recovery is important for practical parser, is there any plan that plex will support it? for example, when we are failed to parse a statement, we skip remaining tokens until we met a semicolon:
program {
    => vec![],
    => program[mut z1] statement[z2] => {z1.push(z2); z1},
}
statement {
    expression[z1] Semicolon => Statement::Expression(z1),
    .* Semicolon => Statement => Statement::Error,
}