3 points · by jgrant27 · 17y ago · 1 comment
There was a short discussion in the Clojure group(which didn't seem to gain much traction).
http://groups.google.com/group/clojure/browse_thread/thread/84bd18b3ceeae0e8/95bd40d25290c167?lnk=gst&q=circular#95bd40d25290c167
Does anyone here have some good ideas ?
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.