public inbox for frysk@sourceware.org
 help / color / mirror / Atom feed
* antlr expression tree annotator
@ 2007-09-26  2:44 Stan Cox
  0 siblings, 0 replies; only message in thread
From: Stan Cox @ 2007-09-26  2:44 UTC (permalink / raw)
  To: Frysk List

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)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-09-26  2:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-26  2:44 antlr expression tree annotator Stan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).