Have you looked at the Soot project? It's very close to this:
http://sable.github.io/soot/

It provides a few intermediate languages such as Jimple and BAF.

The original version of gcc-bridge used Soot as a backend, but the API is a 
bit cumbersome to work with so in the most recent reworking we use ASM to 
generate code directly from Gimple, which is GCC's Intermediate 
Representation and our input language.

-Alex




On Monday, February 1, 2016 at 1:56:44 PM UTC+1, blackdrag wrote:
>
> Hi, 
>
> I was wondering if anyone knows of an effort to create a compiler for 
> the java world, that can understand multiple programming languages. Be 
> it using some IR or other means. Because I am aware of no such effort 
> really. And outside Java I know only gcc and llvm doing things remotely 
> like that. 
>
> My ideal would be a compiler allowing to mix multiple languages to some 
> extend without having to use different independent compilation steps for 
> each language. I would be interested in that, even if there is no actual 
> implementation and only a research project (but then the paper has to be 
> freely available) 
>
> Having spend a lot of time with compilers I very well know that such a 
> thing is really not an easy task and there are numerous problems to 
> solve... but that is exactly why I am looking for available resources - 
> to not to make all those mistakes again and again 
>
> bye Jochen 
>

-- 
You received this message because you are subscribed to the Google Groups "JVM 
Languages" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/jvm-languages.
For more options, visit https://groups.google.com/d/optout.

Reply via email to