in reply to Perl Cannot Be Parsed: A Formal Proof
if (is_nullary(whatever)) { whatever / 25; } else { whatever (/ 25 ; # /); die "this dies!"; }When we think about it, the Perl interpreter already does this. So technicaly, parsing Perl is not a undecidable problem. You only proved that there could not be a single way to parse Perl - and yes, it is a problem for text editor's syntax-highlighting.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Perl Cannot Be Parsed: A Formal Proof
by Jeffrey Kegler (Hermit) on Jun 12, 2008 at 03:30 UTC | |
by Anonymous Monk on Jun 12, 2009 at 04:46 UTC | |
by Jeffrey Kegler (Hermit) on Jun 23, 2009 at 16:23 UTC | |
by Anonymous Monk on Aug 13, 2009 at 20:25 UTC |