in reply to Re^3: Perl 6 and Perl 5 parsing
in thread Perl 6 and Perl 5 parsing
Speed
And consistency.
Consider code like
for (1..10) { # some statements # grammar modification here }
If compile time and run time modification were not separated, the head of the loop would be once parsed without the grammar modifications, and then reparsed with grammar modifications - a nightmare for readability and debugging.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Perl 6 and Perl 5 parsing
by ikegami (Patriarch) on Jan 14, 2011 at 19:24 UTC | |
by moritz (Cardinal) on Jan 14, 2011 at 20:21 UTC | |
by ikegami (Patriarch) on Jan 14, 2011 at 20:58 UTC | |
by moritz (Cardinal) on Jan 14, 2011 at 21:27 UTC | |
by ikegami (Patriarch) on Jan 17, 2011 at 16:57 UTC |