Re: Let the hacking commence!

2005-01-08 Thread Luke Blanshard
Luke Palmer wrote: This list is for people interested in building the Perl 6 compiler. Now you have your first real task! We have to make a formal grammar for Perl 6. Perl 6 is a huge language, so the task seems better done incrementally by the community... Send patches to this list. OK, I'll

Re: Let the hacking commence!

2005-01-08 Thread Luke Blanshard
Luke Blanshard wrote: # Next comes any number of single characters or nested =begin/ # =end blocks -- but the smallest number that will match... [ . | «pod_begin_end_block» ]*? Actually I think that alternation needs to be in the other order, doesn't it? (This is within

Re: Let the hacking commence!

2005-01-08 Thread Luke Blanshard
Luke Palmer wrote: [By the way, shouldn't this grammar be called "Perl" rather than "Perl6::Grammar"?... Grammars and classes share a namespace, so I think Perl::Grammar is correct... I got the name Perl for the grammar from S05, which also gives this example: given $source_code {

Re: Possible syntax for code as comment

2005-01-09 Thread Luke Blanshard
David Storrs wrote: Out of curiosity, why are we all spelling 'subject' without a 'c'? Or is 'subjet' a word I'm not familiar with? (Honest question.) I assume it's a spelling error on the part of the original poster. French for "subject" is "sujet" (IIRC), and "subjet" looks like a cross between