Polyglot for Java 5

Polyglot is an extensible compiler framework for Java from Cornell University that makes it relatively easy to experiment with Java language extensions. We have created an extension to Polyglot 1.3.5 that supports the Java 5 language features (generics, enums, foreach loop, etc.). We've used this extension as a base for new language design research, allowing us to experiment with the full Java language.

Project Members

Milan Stanojevic
Todd Millstein


Polyglot 2.5, released in August 2012, incorporates Java 5 features based on our implementation. So you probably want to download that compiler unless you have a particular reason to use Polyglot 1.x rather than 2.x. In that case, you can download the latest version of our extension here.