-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Model lexer is still wrong #15883
Comments
alexcrichton
added a commit
to alexcrichton/rust
that referenced
this issue
Dec 30, 2014
I would like to look into some issues related to the model lexer rust-lang#15883. I stumbled upon 2 minor problems when I tried running the lexer tests: * antlr did not put the generated files in the correct directory * grammer/verify.rs did not work with the most recent version of rust With these changes (and setting CLASSPATH=/usr/share/java/antlr-4.4-complete.jar:$CLASSPATH) I was able to execute the tests. Note that I just fixed the syntax errors and added `None` as 2. argument of `Literal`. I am not sure if this is correct however. I still have to take a closer look at what verify.rs actually does. Are there any helpful pointers?
Does it stilll make sense to keep the antlr lexer after the flex/bison parser was added in #21452 ? |
I initially wrote this lexer to serve as the reference because it is far simpler than the flex one. |
steveklabnik
added a commit
to steveklabnik/rust
that referenced
this issue
May 7, 2015
…, r=alexcrichton I know this is the most trivial thing since it's *just* the model lexer, not the real lexer, but [it is simpler to read](rust-lang#15883 (comment)) and it'd be great if it was up to date but [it's been rotting](rust-lang#22379) and this is a tiny bit of that. Thanks!!!!!!
steveklabnik
added a commit
to steveklabnik/rust
that referenced
this issue
May 7, 2015
…, r=alexcrichton I know this is the most trivial thing since it's *just* the model lexer, not the real lexer, but [it is simpler to read](rust-lang#15883 (comment)) and it'd be great if it was up to date but [it's been rotting](rust-lang#22379) and this is a tiny bit of that. Thanks!!!!!!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tracking issue for all known problems with the lexer.
Todo:
ignore-lexer-test
s.The text was updated successfully, but these errors were encountered: