-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ANTLR cannot generate Rust code as of version 4.13.1 #84
Comments
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 |
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 $ 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 🤷🏻 |
Hi, can you provide a boilerplate template? |
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
The text was updated successfully, but these errors were encountered: