Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
From http://perlgeek.de/en/article/mutable-grammar-for-perl-6
What I could understand is that since the grammar of Perl 6 is written in Perl 6, One can override the grammar and change some of the syntax itself? Am I right if say this?
What level of flexibility would that be? I mean one can probably change keyword names like 'for' could be changed to 'from' , Or the sigils could be interchanged like '$' for '%' and viceversa,Converting all the keywords to capital letters etc. What other possibilities can be achieved and upto what level is it available
This seems to be a very powerfull feature which no other language is having currently.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl 6 grammar question
by Corion (Patriarch) on Mar 12, 2010 at 07:48 UTC | |
by Anonymous Monk on Mar 12, 2010 at 08:13 UTC | |
by ikegami (Patriarch) on Mar 12, 2010 at 08:35 UTC | |
by Anonymous Monk on Mar 12, 2010 at 08:43 UTC | |
by ikegami (Patriarch) on Mar 12, 2010 at 09:03 UTC | |
by Corion (Patriarch) on Mar 12, 2010 at 08:47 UTC | |
| |
by Corion (Patriarch) on Mar 12, 2010 at 08:19 UTC | |
|
Re: Perl 6 grammar question
by moritz (Cardinal) on Mar 12, 2010 at 12:38 UTC | |
|
Re: Perl 6 grammar question
by almut (Canon) on Mar 12, 2010 at 09:11 UTC |