Comment by isr
7 hours ago
picolisp has an interesting solution to this. A single ']' will close all open )'s for that block of code
7 hours ago
picolisp has an interesting solution to this. A single ']' will close all open )'s for that block of code
That has to be a nightmare for parsers lol
not really. it's just pop all of the stack and return to depth 0. you can still detect imbalanced parens, but i'm not sure how it affects the provenance question of where a missing one would point out in errors.