python-jvm-interpreter
python-jvm-interpreter copied to clipboard
Java Virtual Machine implementation in Python
Would it be difficult to extend this to transpile JVM bytecode to Python?
**DO NOT MERGE** This is just for demonstration purposes. In a nutshell, I kinda-profiled the instructions being called by putting `print(inst)` before the first `if inst == Inst....` line, then...
Errors
I merely git clonned and ran the tests.. ``` $ sh test.sh EEEE............EE ====================================================================== ERROR: test_cocktail_sort (__main__.ArrayTest.test_cocktail_sort) ---------------------------------------------------------------------- Traceback (most recent call last): File "E:/msys64/home/topkek/t/a/python-jvm-interpreter/run_unittest.py", line 89, in setUp self.jvm.load_class_file('example/ArrayTest.class')...