A from scratch implementation of Tcl on Parrot.
To build the tcl interpreter, first build parrot. From the top level parrot directory:
perl Configure.pl && make
Then, build the PGE library: (also from the top level parrot directory)
(cd compilers/pge && make)
Then, type make in this directory. This will generate the file tcl.pbc which can then be used to run tcl programs.
make
tcl.pbc
Note - due to a bug in the current parrot implementation, you must be in the root development directory.
./parrot languages/tcl/tcl.pbc foo.tcl
To run an example, change to the examples, and type make for instructions. Running examples from here automatically handles cd'ing to the proper directory to run.
examples
To run the test suite, type "make test". Note - if any tests fail, try setting the environment variable TEST_PROG_ARGS to -G and retry.
TEST_PROG_ARGS
-G
If the tests now pass, there's a GC bug that needs to be reported to the perl6-internals list.
Various documentation (in various states of decay at the moment):
docs/* TODO
To install Ruby, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Ruby
CPAN shell
perl -MCPAN -e shell install Ruby
For more information on module installation, please visit the detailed CPAN module installation guide.