> On Apr 23, 2009, at 3:01 PM, Johannes Luber wrote: > > >> Hi Sam, > >> > >> I'm working on an ANTLR preproc with Peter Burns here at USF. > > > > Can the preproc deal with a grammar targetting several languages at > > once? > > It will require a predicate and some support code snippets i think; we > can add to ST group. > > > What about creating different ASTs from a parse tree? > > > It creates a real AST not parse tree :)
What I mean is that one grammar can support both parse trees and real ASTs at once. The version to be generated depends on the preproc symbols. Would that be possible? Johannes > > Ter -- Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01 _______________________________________________ antlr-dev mailing list [email protected] http://www.antlr.org/mailman/listinfo/antlr-dev
