Closed yuriry closed 2 years ago
After checking out v0.3
branch of this project and re-building it using my version of antlr4-4.8-2-SNAPSHOT-complete.jar
I got the same errors when running cargo test
as in my parser test . What would be the correct version of antlr4-4.8-2-SNAPSHOT-complete.jar
to work with v0.3
branch?
I have just published a prerelease for v0.3
: https://github.com/rrevenantt/antlr4rust/releases/tag/antlr4-4.8-2-Rust0.3.0-beta, does the issue still exists if you use antlr tool available with it?
Thank you so much, it works with master now!
[dependencies]
antlr-rust = { git = "https://github.com/rrevenantt/antlr4rust", branch = "master" }
I'm not sure if my build environment is set up properly when I get the errors below.
Cargo.toml
A script that generates rust code from a grammar file:
antlr4-4.8-2-SNAPSHOT-complete.jar
is built fromrust-target
branch.Tool chain is nightly:
I had to add
#![feature(try_blocks)]
tomain.rs
to disable twotry expression is experimental
errors:parsers/mod.rs
:Any help on how to properly setup a working build environment would be greatly appreciated.