Jacl is a 100% Java implementation of a subset of Tcl.
We use a version of Jacl from the Ptolemy Project. This version is based on Jacl 1.1.1
For more information about Jacl, see http://www.tcl.tk/software/java/
Jacl adds the java::
Tcl command to provide
access to Java objects. For details, see the
java:: man page
public void cmdProc(Interp interp, TclObject objv[]) public HelpTopic getHelpTopic()The first parses the command line arguments and calls the backend, while the second implements a description displayed by the help command.
See {@link metropolis.metamodel.shell.SimulateCmd} as an example of their implementations.
private static String _commandObjects[] = { ... , new NewCmd() }
private static String _commandNames[] = { ..., "newcmd" }