diff --git a/docs/antlr.html b/docs/antlr.html new file mode 100644 index 000000000..de10bb896 --- /dev/null +++ b/docs/antlr.html @@ -0,0 +1,72 @@ + + +
+ ++ Invokes the ANTLR Translator generator + on a grammar file. +
++ To use the ANTLR task, set the target attribute to the name of the + grammar file to process. Optionally, you can also set the + outputdirectory to write the generated file to a specific directory. + Otherwise ANTLR writes the generated files to the directory containing + the grammar file. +
++ This task only invokes ANTLR if the grammar file is newer than the generated + files. +
+ +Attribute | +Description | +Required | +
target | +The grammar file to process. | +Yes | +
outputdirectory | ++ The directory to write the generated files to. If not set, the files + are written to the directory containing the grammar file. + | +No | +
fork | +Run ANTLR in a separate VM. | +No, default is "off" | +
dir | +The directory to invoke the VM in. (ignored if + fork is disabled) | +No | +
++<antlr + target="etc/java.g" + outputdirectory="build/src" +/> +
+ This invokes ANTLR on grammar file etc/java.g, writing the generated + files to build/src. +
+Version 1.3 - 2000/11/10
+Version 1.3 - 2000/11/14
htdocs/manual/ChangeLog.txt
.
htdocs/manual/ChangeLog.txt
.
<javacc target="src/Parser.jj" - outputdirectory"build/src" + outputdirectory="build/src" javacchome="c:/program files/JavaCC" static="true" />