2 ms·
This perfectly encapsulates my feelings about the Perl parsing question! An ambiguous parse is still a parse, and yeah, the 'whatever' example is pathologicall
by Vivtek 13y ago
This perfectly encapsulates my feelings about the Perl parsing question!
An ambiguous parse is still a parse, and yeah, the 'whatever' example is pathologically unmaintainable code. As you say, if a static parser finds it ambiguous, you should probably fix it.
- Vivtek 13y ago(Or mark it in some way, you know: "This is ambiguous, but it needs to be because _______" - because frankly, ambiguous parses are destined to be bug sources.)