Turns out I didn't get enough time to roll a release tonight -- I'll leave for Toronto in 5 hours. Oh well. :-/
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:
@*ARGS, $*PROGRAM_NAME, $*IN, $*OUT, $*ERR
for 1..10 -> $x { say $x }
return
and leave
loop(;;){}
, while{}
and until{}
Prelude.pm
is 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? :-)
Re:ParTcl Test Results
autrijus on 2005-06-21T02:56:14
Yup, it's great work. I've reflected the numbers above. It's by no means disrespectful of your work -- indeed, Pugs/PIR currently pass only 1% or so of the tests, because Test.pm had not yet bootstrapped. Even if it has, I doubt we'll have a 6.88% coverage at this moment...:-)