parrotcode: Untitled | |
Contents | Language Implementations | TCL |
A brief overview on how to help out,
if you're interested.
In general,
it's ok to send patches for tcl to the RT system for anything that isn't "BIG STUFF" - those,
please bounce off the MAINTAINERS first.
We'd prefer diff -u
patches,
but are happy to take complete files as well.
Since partcl is bundled with the parrot source, svn access is handled via the same mechanism as for parrot itself.
compile
method is invoked,
which then generates PIR which can be compiled by parrot.tcltest
natively.
That said,
any patches that improve speed without harming maintainability will of course be applied.src/builtin
or runtime/builtin
.
Use a similar command as a template.return
the value from the sub.
For a standard error,
just use parrot's die
opcode.
For any other contrl flow type,
use one of the custom ops defined in "ops/tcl.ops" in src,
e.g.: tcl_break
t/
- tests for puts
,
for example,
go in t/cmd_puts.t
.
We are in the process of transitioning all our tests from the perl based Parrot::Test to a tcl-based version that generates TAP output.
All new tests should be written using the tcl-based version.
See t/cmd_expr.t
for an example.make spectest
to checkout the latest version of of the tcl test suite and run it.
Warning: slow...t/
that are testing things that are already tested in the official tcl suite.
Partcl's checked in test suite should just be checking partcl-specific functionality.
|