Slash Boxes
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)

  (email not shown publicly)

Journal of autrijus (1505)

Sunday October 16, 2005
02:32 PM

Day 225: Demagicalized pairs!

[ #27195 ]
I didn't get to do much slide hacking, as the lack of sleep on the ferry and airplanes are kicking in, but what I have so far is at Pugs.xul. You'll notice that I am in serious Unicode-abuse mode...

scook0 valiantly demagicalized pairs. This means foo($thing) now always pass $thing positionally to &foo, even if $thing happens to be a Pair.

On the flip side, foo(bar => $baz) now always passes $baz by the name bar, even if &foo expects Pairs. Hurray for sanity!

For some context behind this pair-magic situation, consult the thread "Demagicalizing pair" on p6l started by luqui, #perl6's consensus-building discussion, and Larry's rulings.

iblech then proceeded to update PIL2JS accordingly, which means that PIL2JS is the first backend which fully supports demagicalized pairs -- it passes all of the 26 tests of t/syntax/pairs.t.

Stevan hacked in a minimal parser for Perl6-style class declaration for the Perl5 metamodel, to test out the eventual integration with PIL2. We bounced a couple ideas at #perl6 about serializing compile-time class objects, but sleep deprivation starts kicking in. As putter so wisely put, one probably should not get burnt out at the beginning of a conference, so I'll catch some sleep now. See ya! :)

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