<br>I am considering writing a LLVM back end for Scala. A major goal of mine is interoperability with C (and perhaps C++) <br>Would it make sense to try to leverage parts of Clang for this purpose? Is there an intermediate language for c/c++/objc that languages are compiled into before being compiled to LLVM?  That would be optimal. If that's not possible, are there parts of clang that are recommended for use with other languages?  <br>
<br>Failing any of that, does anyone have any recommendations for setting out to build an LLVM back end for a language with the goal of ABI compatibility in mind? <br><br>Thanks, <br><br>Rick Richardson<br>