Hacker News new | ask | show | jobs
by mchadwick 6088 days ago
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.