parrotcode: Untitled | |
Contents | Language Implementations | TCL |
A from scratch implementation of Tcl on Parrot.
To build the tcl compiler, first build parrot and the parrot utilities. From the top level parrot directory:
perl Configure.pl && make
Then, type make
in this directory. This will generate the file tcl.pbc
which can then be used to run tcl programs.
../../parrot tcl.pbc foo.tcl
To run partcl interactively, type:
make tclsh
in this directory.
partcl supports two command line options (that are not standard Tcl):
-e
switch, this option will let you specify tcl code in the command line, which will then be executed. e.g: $ ../../parrot tcl.pbc -e 'puts {Hello World}'
Hello World
-e
.).../../tools/util/pirtidy.pl
.To run an example, change to the examples
, and type make
for instructions.
To run the test suite, type make test
. If any tests fail, try TEST_PROG_ARGS=-G make test
. Send the results of both to the mailing list parrot-porters@perl.org
.
See docs/
and TODO
We are targeting Tcl 8.5.1.
|