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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scala Grammar doesn't give correct tokens with ANTLR4 #517
Comments
Could you submit a pull request pls. |
yes sure . but I am working on Antlr tool to parse Scala language. I am not working on Scala language grammar. |
It would seem it is this rule
which is actually defined as
and therefore matching square brackets as part of identifiers and so on... |
Hi, I came across the same problem. Is there gonna be a fix for this? Thank you. |
Could some one suggest how to fix this? I am new to Antlr too, but need the scalar parser to work. Thanks. |
Feel free not to use it. This repository is developing by the community for free. So, no claims to authors. |
Hi @KvanTTT , |
I have no plans to improve Scala grammar in the near future. |
I am working on ANTLR tool to parse the Scala file. I used the following grammar for it 馃憤 []https://github.com/antlr/grammars-v4/tree/master/scala .But using this grammar it doesn't give me correct tokens. I addressed my problem here completely with source code and example : http://stackoverflow.com/questions/40482259/antlr-doesnt-give-correct-output-tokens-for-scala-grammar. Please have a look. Cheers !
The text was updated successfully, but these errors were encountered: