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
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
- Ptolemy II 6.1
Interface Summary Interface Description PtalonPopulatorTokenTypes PtalonScopeCheckerTokenTypes PtalonTokenTypes
Class Summary Class Description AbstractPtalonEvaluatorA 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. PtalonActorAn aggregation of typed actors, specified by a Ptalon program. PtalonASTThis is just like CommonAST, except it allows XML serialization to be parameterized by a depth. PtalonEvaluatorA 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). PtalonExpressionParameterA PtalonParameter where string mode is set to false. PtalonLexerPtalonLexer.java generated from populator.g by ANTLR. PtalonMLHandlerXML handler to be used for "configure" code when parsing a MoML model that contains a PtalonActor. PtalonParameterA Parameter created in a Ptalon file. PtalonPopulatorPtalonPopulator.java generated from populator.g by ANTLR. PtalonRecognizerPtalonRecognizer.java generated from populator.g by ANTLR. PtalonScopeCheckerPtalonScopeChecker.java generated from populator.g by ANTLR. TesterTest driver for ptalon.
Exception Summary Exception Description PtalonRuntimeExceptionAn Exception that occurs while trying to populate the PtalonActor in the Ptalon interpreter. PtalonScopeExceptionAn Exception related to the scope of variables in the Ptalon interpreter.