Day 58: IMC compiler in an hour

autrijus on 2005-03-30T15:11:15

Today, on clkao's van from the hotspring to the dinner place, I implemented a minimal Parrot IMC compiler, parser, evaluator and pretty printer in an hour, using GADTs and TH2. The reason for this exercise was so that Pugs can target IMC AST without being bound by the actual state of IMC, i.e. Pugs can still run without a parrot installation. It also makes it possible to express "feature suggestions" to Parrot as code, instead of words. :)

After that, I started doing a YAML parser/compiler with ingy, but my battery went out of power. Oh well. Still I think a fast, native YAML library for Pugs will be a good idea.

Today Stevan unleashed a working CGI.pm implementation in Pugs. His commit log notes: " Why? I have no idea, but hey, why not?"

Darren continued working on Locake::KeyedText and SQL::Routine. In particular, their Makefile.PL are now written in Perl 6, making them the first 100% Perl 6 code in modules/ directory. Woot!

gaal worked on perl6.vim some more; mugwump and ingy continues figuring out the Perldoc model (I think %=POD should be renamed to %=DOC now, really); there's more developments, but I'm a bit drunk from this 3-hour dinner thing, so I'll stop right here for tonight. :)


Buggy CGI.pm

Ovid on 2005-03-30T16:53:14

Oh my. I never expected that the broken old hand-rolled CGI parsing routines would find their way into Perl 6. There were so many bugs in that code it made my eyes hurt :)

Re:Buggy CGI.pm

stvn on 2005-03-30T23:42:59

There were so many bugs in that code it made my eyes hurt :)

Which is why we are re-writing it from scratch.

So we can introduce a whole new class of bugs ;)

*cough* patches welcome *cough*