This is the mail archive of the frysk@sourceware.org mailing list for the frysk project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

antlr expression tree annotator


An antlr infrastructure for walking and tagging the expression tree with
type information was committed.  At the moment only symbol nodes are
tagged and there are currently no consumers of the information.  When I
get a bit more time I'll finish polishing up a 'what' request that uses
this and also add type info on the operator nodes.
 files in frysk-core/frysk/expr:
 CExpr.g	 antlr lexer and parser grammar
 CExprAnnotator.g antlr type annotator
 CExprEvaluator.g antlr expression evaluator
 ExprAST.java    extension of antlr's abstract syntax tree
 ExprSymTab.java interface to frysk-core/debuginfo
(this interface has possibly outlived its usefulness as the testing
tools that also used it are no longer needed and are removed)



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]