To reduce confusion, I've renamed PAST in Pugs's source code to PIL (Pugs Intermediate Language). It's easy to remember, and fits well with the PIL -> PIR flow.
The good news is that leo and I figured out how to implement closures and return/leave,
both for his new efficient runloop and simulated with exception handlers for the current
runloop. Building on this model, and solid abstractions built over the last week, we see a large influx of PIR checkins today:
- Globals:
@*ARGS, $*PROGRAM_NAME, $*IN, $*OUT, $*ERR - Iteration:
for 1..10 -> $x { say $x } - Code exit:
returnandleave - Loop:
loop(;;){},while{}anduntil{} - Bare, pointy block and anonymous subroutine literals.
- The entire
Prelude.pmis now compiled and loaded into PIR.
We're now very close to get make pirsmoke and make pirtest
returning some useful results for Pugs/PIR. ParTcl currently supports 2.89% of the
entire Tcl test suite (or 6.88% if you take out tests for the single clock command); we'll see how well Pugs/PIR fares tomorrow.
Oh, and we're three days till the announcement of ICFP 2005 contest. I wonder if I can convince my fellow Hackathoners into entering the competition with Perl 6... It sounds insane, but hey, wouldn't it be really amazingly cool, if "Perl 6 is the language of choice for discriminating hackers!" gets announced in ICFP 2005?

Recent Comments