Difference between revisions of "Mixed language project compilation in Eclipse: Java and Groovy"

From JVMLangSummit
Jump to navigationJump to search
 
Line 1: Line 1:
 
;Speaker: Andy Clement, VMware
 
;Speaker: Andy Clement, VMware
 
;Project: http://groovy.codehaus.org/Eclipse+Plugin
 
;Project: http://groovy.codehaus.org/Eclipse+Plugin
;Resources: [[Media:Clement MixedLanguageProjectCompilationInEclipse.pdf | Slides]] and [http://medianetwork.oracle.com/media/show/15509?n=playlist&nid=1 Video]
+
;Resources: [[Media:Clement MixedLanguageProjectCompilationInEclipse.pdf | Slides]] and [http://medianetwork.oracle.com/media/show/15509 Video]
  
 
===Abstract===
 
===Abstract===

Latest revision as of 12:22, 3 September 2010

Speaker
Andy Clement, VMware
Project
http://groovy.codehaus.org/Eclipse+Plugin
Resources
Slides and Video

Abstract

Under the Groovy-Eclipse project the Eclipse Compiler for Java (ecj) has been opened up and extensions defined to allow other language compilers to plugin and work with it to build a mixed language codebase. Groovy-Eclipse plugs the existing groovyc compiler into these extensions. This approach removes the need for 'stubs' that are used in typical multi-language codebase compilation and enables the compilers to work more closely together during the various stages of compilation (parsing/resolution/code generation).

In this session we will look at how Eclipse has been opened up and how groovyc (as an example of the compiler for another JVM language) has been plugged in. We'll look at the benefits of 'stubless' joint compilation and look at how and why this architecture provides a great base upon which tools can quickly be built. The talk will also include demos of the Groovy-Eclipse tools.