Skip to content
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

Compile using stable instead of nightly #32

Open
nmeylan opened this issue Dec 15, 2023 · 3 comments
Open

Compile using stable instead of nightly #32

nmeylan opened this issue Dec 15, 2023 · 3 comments

Comments

@nmeylan
Copy link
Owner

nmeylan commented Dec 15, 2023

Currently the project only compile using rust nightly because of https://github.com/nmeylan/rathena-script-lang-interpreter which use https://github.com/rrevenantt/antlr4rust which use rust nightly feature

I started working to rewrite some part of antlr4rust without those nightly feature in my fork https://github.com/nmeylan/antlr4rust but still many work to do

@brandc87
Copy link

Upgrading ANTLR4 to 0.3 will now let you compile with stable

@nmeylan
Copy link
Owner Author

nmeylan commented Apr 21, 2024

hi @brandc87 can you give me the link to v0.3? haven't found it, nor in any fork of antlr4rust repository, is it another crate?

@brandc87
Copy link

brandc87 commented Apr 22, 2024

Hi, looks like it's in pre-release. The main repo states:

For now development is going on in this repository but eventually it will be merged to main ANTLR4 repo

Since version 0.3 works on stable rust. Previous versions are not maintained any more so in case of nightly breakage you should migrate to the latest version.

[dependencies]
antlr-rust = "0.3"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants