4 ms·
http://www.codecommit.com/blog/scala/joint-compilation-of-scala-and-java-sources http://www.codecommit.com/blog/scala/joint-compilation-of-sc... Above is an ov
by mchadwick 17y ago
http://www.codecommit.com/blog/scala/joint-compilation-of-scala-and-java-sources http://www.codecommit.com/blog/scala/joint-compilation-of-sc...
Above is an overview of how the Scala compiler attacks this exact problem. Long story short: It is able to grok just enough Java to build a basic AST and resolve circular dependencies the same way it handles one in pure Scala.
The article also hints that Groovy has similar capabilities.