Open wizardxz opened 1 year ago
I investigated the code a little bit, found the RustTarget
does not exist here
https://github.com/rrevenantt/antlr4/blob/rust-target/tool/src/org/antlr/v4/codegen/CodeGenerator.java#L78
Do you have an idea about why the RustTarget is not loaded? Thanks
It simply mean that your fat jar was not built with the Rust target. Ensure you did the git submodule update in the antlr4 directory and that your Reactor Summary for your fat jar build is a full green SUCCESS.
git clone -b rust-target https://github.com/rrevenantt/antlr4
cd antlr4
git submodule update --init --recursive --remote
mvn -DskipTests install
Hi I am building antlr binary and use it to generate my parser and I saw a NPE in the runtime Here is what I did
Then I get
Run it to against Expr.g4