Allison's JournalAllison's use Perl JournalPunie to AST- November 24, 2005 I've checked in the code to transform Punie match objects into AST trees. The core pieces are: A tree grammar for the transformation in languagespunielibpge2past.g A series of AST nodes in languagespunielibPAST A script that parses a Punie source file, transforms the match result into an AST tree, and dumps the tree in a text format for verification. This is named punie2.pir, because it's still not far enough along to replace punie.pir. So, if you run: parrot punie2.pir demo.p1 You'll get a..http://use.perl.org/~Allison/journal/27719?from=rss TGE in Punie- November 22, 2005 I forgot to write about my Parrot day last week. I started work on using TGE in Punie. TGE takes care of all the steps in the compiler except the last step of compiling the low-level opcode syntax tree (OST) down to Parrot bytecode. I'm approaching it by first implementing the steps all the way through, but only for the single statement "print 1;". So far, I'm part-way through the initial step of transforming the output from TGE into the high-level abstract syntax tree. That seems kind of slow.http://use.perl.org/~Allison/journal/27697?from=rss Pod::Simple 3.03- November 21, 2005 I just uploaded Pod::Simple 3.03 to PAUSE. It's a patch catchup release, no major changes.http://use.perl.org/~Allison/journal/27685?from=rss |