lug
lug copied to clipboard
Catch and handle exceptions from user-defined syntactic predicate, syntactic capture and semantic action callables
Exceptions from user-defined callables should be caught and handled appropriately based on the context. Exceptions should be recorded as syntax errors, which will tie in with #8. Additionally, the parser should be hardened to ensure exception safety where applicable, handling state rollback gracefully.