xref: /aosp_15_r20/external/antlr/runtime/ObjC/Framework/README.rtf (revision 16467b971bd3e2009fad32dd79016f2c7e421deb)
1*16467b97STreehugger Robot{\rtf1\mac\ansicpg10000\cocoartf824\cocoasubrtf420
2*16467b97STreehugger Robot{\fonttbl\f0\fnil\fcharset77 LucidaGrande;\f1\fnil\fcharset77 LucidaGrande-Bold;}
3*16467b97STreehugger Robot{\colortbl;\red255\green255\blue255;\red255\green0\blue0;}
4*16467b97STreehugger Robot\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\ql\qnatural\pardirnatural
5*16467b97STreehugger Robot
6*16467b97STreehugger Robot\f0\fs36 \cf0 \ul \ulc0 How to use the "Regenerate examples" targets:
7*16467b97STreehugger Robot\fs26 \
8*16467b97STreehugger Robot\ulnone \
9*16467b97STreehugger RobotSet the value of the project build setting
10*16467b97STreehugger Robot\f1\b ANTLR_EXTRA_JAVA_ARGS\
11*16467b97STreehugger Robot
12*16467b97STreehugger Robot\f0\b0 to the Java classpath containing the .jar files from the ANTLR v3 beta distribution.\
13*16467b97STreehugger RobotThe value will be used as the argument to the -cp parameter of /usr/bin/java.\
14*16467b97STreehugger RobotSee the individual "Regenerate" targets for the specifics.\
15*16467b97STreehugger Robot\
16*16467b97STreehugger RobotAlso be sure that all necessary files are writeable, otherwise the build will fail silently\
17*16467b97STreehugger Robotbecause org.antlr.Tool currently always returns 0 as its exit code, no matter what - even if a fatal error occured.\
18*16467b97STreehugger RobotThis is a serious issue when using the plugin, as well, and will be fixed in a future release.\
19*16467b97STreehugger Robot\
20*16467b97STreehugger RobotThe Xcode plugin has not been updated to recognize the new recommended file extensions for ANTLR grammars:\
21*16467b97STreehugger Robot\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\ql\qnatural\pardirnatural
22*16467b97STreehugger Robot\cf0 Parsers and combined grammars:	.g		generate NameLexer.(h|m) and NameParser.(h|m) files\
23*16467b97STreehugger Robot\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\ql\qnatural\pardirnatural
24*16467b97STreehugger Robot\cf0 Lexers:							.gl 		generate NameLexer.(h|m) files\
25*16467b97STreehugger RobotParser grammars (alternatively): 	.gp		generate NameParser.(h|m) files\
26*16467b97STreehugger Robot\pard\tx566\tx1153\tx1700\tx2267\tx2834\tx3401\tx3968\tx4420\tx4535\tx5102\tx5669\tx6236\tx6803\ql\qnatural\pardirnatural
27*16467b97STreehugger Robot\cf0 Treeparsers: 							.gtp		generate Name.(h|m) files (\cf2 this has changed from the previous release!!\cf0 )\
28*16467b97STreehugger Robot\
29*16467b97STreehugger RobotIt should continue to work but there are no guarantees. Sometime in the near future I will make updates available\
30*16467b97STreehugger Robotand announce them on the mailing list [email protected] and on my site http://classdump.org/pages/antlr\
31*16467b97STreehugger Robot\
32*16467b97STreehugger RobotShare and enjoy.\
33*16467b97STreehugger Robot\
34*16467b97STreehugger Robot-k}