kjosib / booze-tools

Booze Tools will become the complete programming-language development workbench, all written in Python 3.9 (for now).
MIT License
14 stars 1 forks source link

Broken regular expressions crash MacroParse compiler #34

Closed kjosib closed 4 years ago

kjosib commented 4 years ago

Right now, the macroparse compiler attempts to re-use the regular-expression parsing facility used to bootstrap miniscan. The problem is if something goes wrong parsing that regex.

One quick patch is to adjust procedure handle_meta_exception so it always translates the exception.