This class provides a text editor specialized for editing Ptcl
source. Ptcl is the Ptolemy extension to Tcl. It is automatically
invoked whenever you open any file with an ".ptcl"
extension or ".pt" extension or if a directory is
opened and it contains a schematic/contents;
subfile,
and the directory is not named *.pal
.
Ptolemy is a software environment that provides simulation an code generation capabilities. http://ptolemy.eecs.berkeley.edu describes the Ptolemy project in detail. The EditPtcl class is derived from the EditItcl class, and therefore inherits all of its features. It colors certain Ptcl constructs, such as comments and universe definitions.
To evaluate a ptcl file, you must have the ptcl extensions built
into the binary that tycho is running. To start tycho with the ptcl
extension, run tycho -pigi
. See the Tycho startup
documentation for more information.
The Ptcl editor has a Special
menubutton, which has the
following choices: