• Home
Name Date Size #Lines LOC

..--

ANTLR.framework/03-May-2024-33

Framework/03-May-2024-76,24859,500

READMED03-May-20241.6 KiB3125

README

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