On Oct 6, 2005, at 2:19 PM, Will Coleda wrote:
A few more commands are inlined (including [for]). I've begun to
unify the three different compilers that are currently available:
the compreg'd version, the internal version for code, and the
internal version for expressions. All now use the same mechanism to
ultimately compile the PIR code they generate.
I also just added (mostly untested) support for two new command
line options for partcl:
For leo, you can now do oneliners with partcl:
../../parrot tcl.pbc -e="puts {hello world}"
For debugging, you can now dump the PIR we're using instead of
executing it (works with or without -e):
<SNIP>
This is still not quite a standalone program, but contains most of
the good bits.
This now generates a standalone program (r9409), so:
% ../../parrot tcl.pbc -e='set a {Hello World}; puts $a' --dump >
helloworld.pir
% ../../parrot helloworld.pir
Hello World
%
Works. Enjoy!