java2python icon indicating copy to clipboard operation
java2python copied to clipboard

Simple but effective library to translate Java source code to Python.

Results 51 java2python issues
Sort by recently updated
recently updated
newest added

Hi, when I tried to translate my java code it raised: Traceback (most recent call last): File "/opt/bin/j2py", line 259, in sys.exit(runMain(configScript(sys.argv[1:]))) File "/opt/bin/j2py", line 57, in runMain return runOneOrMany(options)...

I think things worked. However, this might be a silly question to ask as I'm new to Python and converting language content. What is this code for? **if **name** ==...

Please modify install ANTLR Runtime wget http://www.antlr3.org/download/antlr-3.1.3.tar.gz from wget http://www.antlr.org/download/antlr-3.1.3.tar.gz Antlr no longer hosts the 3.1.3 at the "base" link. [Comments : I also tried with antlr4-4.0.tar.gz ,surprisingly the ANTLR...

c:\python27\lib\site-packages\java2python\mod\basic.py(151): from java2python.mod.include import sync This statement fails, because there is no module "include". grep found a sync in c:\python27\lib\site-packages\java2python\compiler\visitor.py(559) is that the one that should be included? comments seem...

I cloned this projects a few days ago. and i found error when running it. it is about chinese unicode char. i had fixed it,but maybe it is not in...

- .gitignore *.pyc - .gitignore egg dir - robust to empty node lists and nodes without children # To reproduce ERROR: ``` $ cd ~/src $ git clone https://github.com/ggp-org/ggp-base.git $...

Hello, I tried your tool and had some problems which you might like to know for future improvement. I tell you every point so you can decide which are useful...

I wonder if it would be possible to have an option to convert myMethodName to an underscore style ? my_method_name

The below code compiles and executes correctly via java, but I receive an error when trying to use java2python to convert the code to python: class helloworld { public static...

So part of tracking down the length issue (since I'm seeing that currently), I noticed that the call transforms.lengthToLen() got called repeatedly for transforms that weren't related to the selection...