GCC-Bridge: A Gimple Compiler targeting the JVM
Tom Tromey
tom@tromey.com
Wed Feb 3 15:17:00 GMT 2016
Manuel> Everything is possible! Not sure how hard it would be, though. As
Manuel> said, GJC
"gcj".
Manuel> the Java FE, was doing something similar sometime ago, but
Manuel> it has perhaps bit-rotted now.
It used to, but when we moved to using ecj for parsing java source, we
removed (IIRC) the bytecode generator.
Note that it only ever accepted trees generated by the java front end.
You couldn't compile trees from other front ends to java byte code.
If you wanted that you had to resort to a more extreme measure like
mips2java.
Tom
More information about the Gcc
mailing list