in reply to Re^4: Perl 6 grammar question
in thread Perl 6 grammar question
Actually no - the syntax of given can not be implemented in Perl through a module1. You can use source filters to rewrite the program, like Switch did, but you will then get all the problems that are associated with source filters.
1 Discounting Devel::Declare, which for Perl 5.10 tries to allow new keywords through modules.
Update: Arunbear tells me that Devel::Declare only requires Perl 5.8.1, so modifying the parse process might be possible even there.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Perl 6 grammar question
by Anonymous Monk on Mar 12, 2010 at 09:00 UTC |