-
Notifications
You must be signed in to change notification settings - Fork 243
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
Any plans to make this run on Python 3 #67
Comments
https://github.com/adsharma/java2python has antrl4+java9+python3. I started with the grammar here: https://github.com/antlr/grammars-v4/tree/master/java/java9 But switched to: https://github.com/antlr/grammars-v4/tree/master/java/java Much of it was running 2to3, downloading grammars and updating routine stuff. Now comes the hard part. Java.g and JavaParser.g4 are not exactly the same. So j2py fails because of the differences. |
I found it easier to bootstrap a new project from scratch using antlr4-python3 and updated grammars. This one handles HelloWorld.java. |
Inquiring minds would like to know? :-)
The text was updated successfully, but these errors were encountered: