roscopeco / deelang

A lightweight dynamic scripting language for Android
Other
28 stars 0 forks source link

JVM compiler #5

Open roscopeco opened 11 years ago

roscopeco commented 11 years ago

It would be nice to be able to compile directly to Java(tm) bytecode, in a similar vein to the current DEX support.

This would have the following benefits:

One way to make this happen is to transform the current DeeVM bytecode directly to Java bytecode, and generate the classes at runtime. This would save a lot of rewriting, and make keeping the DeeVM compiler current much easier.

We may also be able to utilise 1.7's INVOKEDYNAMIC support in this compiler.