Up to higher level directory | |||
Name | Date | Size | |
---|---|---|---|
ANTLR.framework/ | 21-Oct-2016 | ||
ANTLR.framework.zip | 21-Oct-2016 | 305.2K | |
Framework/ | 21-Oct-2016 | ||
README | 21-Oct-2016 | 1.3K |
1 ANTLR version 3 supports target language generation for the lexical 2 analyzer and parsers. Objective C was supported previously but had not 3 been brought up to date for some time. This release is built on the work 4 by Kay Roepke, Ian Michell and Alan Condit. 5 6 The project is currently working sufficiently for me to use it in compiling 7 my grammar and tree walker. I am sure that it still has some bugs but I have 8 fixed all of the bugs that I have found so far. 9 10 The project consists of an Objective-C runtime framework that must be 11 installed in /Library/Frameworks. 12 13 It also requires the installation of the String Template files to 14 support the target language code generation. Hopefully, at some point 15 they will be incorporated into the ANTLR release code, so that the 16 individual user doesn't have to do anything but load the framework into 17 the proper location. However, for now you need to create an ObjC 18 directory in antlr-3.2/tool/src/main/resources/org/antlr/codegen/templates 19 and then copy the ObjC ".stg" files to 20 antlr-3.2/tool/src/main/resources/org/antlr/codegen/templates/ObjC/*. 21 22 There is also a java file ObjCTarget.java that goes in < 23 antlr-3.2/tool/src/main/java/org/antlr/codegen/ObjCTarget/Java>. 24 25 If you are using Antlr3.3 the code from here is included with the Antlr tarball. You just need 26 to copy the ANTLR.framework to /Library/Frameworks.