Closed woile closed 9 months ago
The error you get show that you are using the latest upstream fat jar with no support for the Rust target (similar to #82), you should use the generated fat jar located in antlr4/tool/target/antlr4-4.8-2-SNAPSHOT-complete.jar
I've used that one, and I get the same error
There is no issue here, you just have to follow instructions carefully, Avro's g4 is building fine with Rust target.
Any idea what may I be missing? I'm gonna give it another try. Thanks
I've removed the folder, followed the steps again, and finally run:
java -jar ./antlr4/tool/target/antlr4-4.8-2-SNAPSHOT-complete.jar -Dlanguage=Rust Idl.g4
And I still get error(31): ANTLR cannot generate Rust code as of version 4.8
$ java -version
openjdk version "11.0.18" 2023-01-17 LTS
$ mvn -version
Apache Maven 3.9.4
thoughts?
Well I downloaded the released version of this jar and it works 🤷🏻
I get this error:
I've followed the steps described:
Running the following fails:
I was trying to build Avro's
g4
: https://github.com/apache/avro/blob/main/share/idl_grammar/org/apache/avro/idl/Idl.g4