This is the mail archive of the
frysk@sourceware.org
mailing list for the frysk project.
antlr expression tree annotator
- From: Stan Cox <scox at redhat dot com>
- To: Frysk List <frysk at sourceware dot org>
- Date: Tue, 25 Sep 2007 22:40:13 -0400
- Subject: 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)