Package ptolemy.actor.ptalon
The Ptalon actor.
Ptalon requires ANTLR 2.7.7 to run properly, which should be included
as a jar file in $PTII/ptolemy/actor/ptalon/antlr. ANTLR can be found at
http://www.antlr.org
.
If you make changes to
the grammar files (files with .g) extension, you must compile them with antlr,
calling "java antlr.Tool foo.g".
For details of Ptalon, see http://chess.eecs.berkeley.edu/ptalon
- Since:
- Ptolemy II 6.1
-
Interface Summary Interface Description PtalonPopulatorTokenTypes PtalonScopeCheckerTokenTypes PtalonTokenTypes -
Class Summary Class Description AbstractPtalonEvaluator A helper class to store information, like variable scope info, for the Ptalon compiler.NamedTree<TreeType extends NamedTree> This class is used for generic trees, where each node has a name.PtalonActor An aggregation of typed actors, specified by a Ptalon program.PtalonAST This is just like CommonAST, except it allows XML serialization to be parameterized by a depth.PtalonEvaluator A code manager that manages the extra complexity of dealing with parsing Ptalon actors or values and setting them to parameters of PtalonActors (ones declared in a Ptalon file).PtalonExpressionParameter A PtalonParameter where string mode is set to false.PtalonLexer PtalonLexer.java generated from populator.g by ANTLR.PtalonMLHandler XML handler to be used for "configure" code when parsing a MoML model that contains a PtalonActor.PtalonParameter A Parameter created in a Ptalon file.PtalonPopulator PtalonPopulator.java generated from populator.g by ANTLR.PtalonRecognizer PtalonRecognizer.java generated from populator.g by ANTLR.PtalonScopeChecker PtalonScopeChecker.java generated from populator.g by ANTLR.Tester Test driver for ptalon. -
Exception Summary Exception Description PtalonRuntimeException An Exception that occurs while trying to populate the PtalonActor in the Ptalon interpreter.PtalonScopeException An Exception related to the scope of variables in the Ptalon interpreter.