At 11:12 AM 1/2/1970 +0100, James A Duncan wrote: >Morning (BST) all, > >I've started work on B::Parrot, which is a Perl 5 to Parrot translation >engine. Its very basic at the moment, but I've got it successfully >translating things like: > >my $perliv = 10; >my $perlpv = "\n"; >print $perliv; >print $perlpv; > >into working, assemble-able parrot code. Before I go any further on this >crack-fuelled project is there anything I should be aware of? Are others >working on this? Have I done far too much crack smoking to consider doing >something like this now?
There has been some work related to it, called miniperl (Jeff Goff's), but I'm not sure how it differs from what you are doing. There is a lexer and grammar file in there. It sounds like what you are embarking on is a compiler implementation with a full grammar, etc. Right? I also remember there was work already in progress, Simon Cozens mailed out a tokenizer and I recall Damian Conway saying he was going to deliver a parser (maybe I'm confused as I often am)? I assume this could be reused, else we end up with 2 architectures of compiler for Perl5 and Perl6. Who exactly is the pumpking for the Perl(tm) compilers at this time? -Melvin