User's Guide to the Ptcl Editor

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:

  • Retarget - Brings up the Retargetting editor, which can be used to retarget a Ptolemy universe between domains.
  • List Stars - List the names of the stars used by the ptcl file.
  • Ptolemy Universes - Bring up a browser that shows all the Ptolemy universes in the Ptolemy tree.
  • Universe Name - Show the name of the universe defined by this file.
  • Tycho Home Page


    Copyright © 1996, The Regents of the University of California. All rights reserved.
    Last updated: 96/11/30, comments to: cxh@eecs.berkeley.edu