Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

autrijus (1505)

autrijus
  (email not shown publicly)
http://pugs.blogs.com/

Journal of autrijus (1505)

Friday June 17, 2005
06:38 PM

Day 134: Seventh day at Leo's: User-defined subs!

[ #25256 ]
After three day's work I've finally hunted down the register alligator, an IMCC bug that prevented full CPS transform with the current calling convention, because it will restore registers in the wrong place. The alligator was one of the main reasons why chip, leo and I are in favor of the new calling convention, as well as variable-sized register frames that would never spill.

Thanks to geoffb, we now have a set of sanity tests, gradually leading to the use of Test.pm itself. I'm glad to report that, with user-defined subs and basic control structures, all the sanity tests are working save Test.pm itself, which I hope to get working tomorrow.

In my copious spare time, I've also surveyed the implementation strategies of Boo and IronPython. I'm now fairly convinced that Parrot's design is sound, and the implementation glitches -- i.e. its uncanny ability of segfaulting an infinite loop in constant time -- can be ironed out with leo's patch monstery.

I'm grateful to #parrot people in irc.perl.org for helping me out; thanks also to putter, integral, iblech and other lambdacamels for crossing the bridge with me, filling in primitives, namespace support and generally getting parrot/pugs up to speed... Together we'll make this new ship fast and robust! :-)

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.