neotomex
neotomex copied to clipboard
Breadcrumb Error Reporting
At the moment it can be a pain to debug a match because it's hard to tell how it's recurring through the parse tree. To help with this I'll define a match-recur
function that will add the next executed expression (or possibly just nonterminals) to a list of breadcrumbs. These can then be logged when necessary, or used to check for infinite loops.