3 ms·
As a random example from Perl, Unmatched ( in regex... is the error when you open a capturing group in a regex and fail to close it. In a recursive descent par
by btilly 10y ago
As a random example from Perl, Unmatched ( in regex... is the error when you open a capturing group in a regex and fail to close it.
In a recursive descent parser, this type of error is very easy to generate because working top down you know what you are in the middle of trying to do when you hit the error. But a bottom up parser lacks that context - it just knows where it was when it got stuck.