[antlr-interest] AST construction with an ObjC target, missing "AST.stg"
K. Lo Shih
lo at toolslab.com
Fri Sep 29 11:33:16 PDT 2006
I played around a little bit the tree parser example in examples-
v3.tar.gz targeting Java (as default). But I'm running into a
"internal error: no such group file AST.stg" after modifying
"examples-v3/treeparser/LangParser.g" to use "language=ObjC".
Command while in examples-v3/treeparser/:
java org.antlr.Tool LangParser.g LangTreeParser.g
Class path includes:
ANTLR version: antlr-3.0b4
Java version: 1.5.0_06
Platform: Mac OS X 10.4.7 (Darwin Kernel Version 8.7.0)
It looks like an AST.stg is missing
I'm not even sure what that template group does. Also, I'm not
noticing any classes in the ANTLR.framework project (in "antlr-3.0b4/
lib/ObjC/ANTLR.xcodeproj") that mirrors the org.antlr.runtime.tree.*
Java classes, though I haven't really looked in it.
Kay, I see you mention (http://www.antlr.org/wiki/display/ANTLR3/
ANTLR3+Objective-C+Target) that you've got it building ASTs, is that
K. Lo Shih
More information about the antlr-interest