This is the mail archive of the
mailing list for the GCC project.
Re: GCC-Bridge: A Gimple Compiler targeting the JVM
- From: Tom Tromey <tom at tromey dot com>
- To: Manuel LÃpez-IbÃÃez <lopezibanez at gmail dot com>
- Cc: "Bertram\, Alexander" <alex at bedatadriven dot com>, gcc Mailing List <gcc at gcc dot gnu dot org>
- Date: Wed, 03 Feb 2016 08:16:54 -0700
- Subject: Re: GCC-Bridge: A Gimple Compiler targeting the JVM
- Authentication-results: sourceware.org; auth=none
- References: <CAOdV3zBHNvWMBPwkybvPzc9_yMndeP2bnxsXNGCbocwTHbPSWQ at mail dot gmail dot com> <56AFCD34 dot 5040204 at gmail dot com> <CAOdV3zApjo9VfF=Dyse+R0jY_u2MG2y+K5zPz72XtcMNsWxXCw at mail dot gmail dot com> <CAESRpQBQLVniZS_dpcCA+gEP6ep9jGnptiYDvzb3ojU_9n1tGQ at mail dot gmail dot com>
Manuel> Everything is possible! Not sure how hard it would be, though. As
Manuel> said, GJC
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