Thanks.
I just dowloaded it, and tried to get it to work, but ..
Code:
\src\main\antlr>java -classpath ..\..\..\..\..\..\antlrworks-1.2.3.jar org.antlr
.Tool hql.g
Code:
error(100): hql.g:1:1: syntax error: antlr: hql.g:1:1: unexpected token: header
warning(149): hql.g:0:0: rewrite syntax or operator with no output option; setti
ng output=AST
error(150): grammar file hql.g has no rules
error(100): hql.g:0:0: syntax error: assign.types: <AST>:0:0: unexpected end of
subtree
error(100): hql.g:0:0: syntax error: define: <AST>:0:0: unexpected end of subtree
Had the same problem with the GUI.
So what should I do? Manipulating the files by removing the header-tag can't be intended, or?
Haven't found an ant-File in the distribution, or may I have overlooked that? Have found a maven-file: pom.xml
Code:
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>antlr-maven-plugin</artifactId>
<version>${antlrPluginVersion}</version>
<configuration>
<grammars>hql.g,hql-sql.g,sql-gen.g</grammars>
</configuration>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
I don't use maven, so If you can tell me, how to do that by hand.
Thanks.
Greetings Michael