Closed wprzytula closed 1 year ago
Are you absolutely sure that you have used the version of generator that you have linked? because such code was generated only in previous versions
Yes, I've tried both downloading the prebuilt release and building it from your fork - the result is the same.
Well i have just downloaded generator right from that link and it works as expected so i have no idea what is going wrong in your case. Are you executing generator from terminal or from build.rs or some other script? Also can you share your grammar?
I'm so sorry. I've messed with two directories, and files that actually caused the compilation problem were left from generation with older generator. Everything does work. Thank you very much for your instant response!
Yeah. antlr tool uses some weird path selection mechanism, for whatever reason it generated code in src/parser/src
instead of expected src/parser
when i tried to reproduce your issue
After I download the generator release 0.3.0-beta, generate parser using it and try to run it using master branch of this repo (or crate 0.3.0-beta from crates.io), then I encounter a lot of incompatibility errors:
all of which, I believe, originate from
better_any
crate. So far, I haven't managed to solve it myself.As I need to use your great crate ASAP, I'd be very grateful for quick help. @rrevenantt