Allison's JournalAllison's use Perl JournalPunier operators- February 21, 2006 I added a few more operators today: multiplication, division, modulus, repetition, concatenation, bitwise left shift, bitwise right shift, and bitwise AND, OR, and XOR. Because of the way the operator precedence parser is integrated, all I had to add for each operator was one entry in the Punie grammar module, one entry in a lookup table, and then test it. Schweet! I also did some documentation updates and code cleanup, since we have a Parrot release coming up soon.http://use.perl.org/~Allison/journal/28752?from=rss Punie operators- February 16, 2006 Yesterday and today I finished plugging in the operator precedence parser. (Three cheers to Patrick for his work that made it possible!) Punie can now handle statements like: print 1 + 2 + 3; and print 1 - 2, "n", 7 - 1, "n"; and if (42 + 11) print "ok 1n"; I first implemented it with most of the work happening in the POST->PIR transformation, but that turned out to be pretty hacky. So, I redid the bottom half with most of the work in the PAST->POST transformation. This is much...http://use.perl.org/~Allison/journal/28698?from=rss Punie do, if, unless- February 14, 2006 Whoops, no journal entries in a while. Mostly I've been working on bug fixes. Not exactly progress on the Punie compiler, but I consider it progress, since one of the main goals of Punie is to give ParrotPGETGE a workout. Today I added simple do block support. One "ah-ha" moment in there resulted in me adding a new POST node type: Ops. This node is just a sequence of opcode statements, and the conversion to PIR flattens it out. The way TGE works at the moment, the code for dealing with a...http://use.perl.org/~Allison/journal/28672?from=rss calling Pod::Webserver users- February 2, 2006 Looking for pre-release comments on Pod::Webserver 3.04.http://use.perl.org/~Allison/journal/28555?from=rss |