gkbrk / python-jvm-interpreter

Java Virtual Machine implementation in Python
GNU Affero General Public License v3.0
275 stars 22 forks source link

Add transpiler #4

Open kj7rrv opened 4 years ago

kj7rrv commented 4 years ago

Would it be difficult to extend this to transpile JVM bytecode to Python?

gkbrk commented 4 years ago

While it is out of scope for this project, it should not be too difficult to make it output Python code that can run. It might even get performance improvements. But I don't think it will be maintainable or readable at all.

kj7rrv commented 4 years ago

Okay. I didn't really expect readable code.

On Thu, Feb 13, 2020, 00:17 Gokberk Yaltirakli notifications@github.com wrote:

While it is out of scope for this project, it should not be too difficult to make it output Python code that can run. It might even get performance improvements. But I don't think it will be maintainable or readable at all.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/gkbrk/python-jvm-interpreter/issues/4?email_source=notifications&email_token=AN54XP3O4DC57S4UTWPI6KTRCT6YVA5CNFSM4KUI2TXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELT2EUQ#issuecomment-585605714, or unsubscribe https://github.com/notifications/unsubscribe-auth/AN54XP5R5UZXL7TGSR5PUZTRCT6YVANCNFSM4KUI2TXA .