Extending JastAddJ to Java 8

University essay from Lunds universitet/Institutionen för datavetenskap

Abstract: JastAddJ is an extensible Java 7 compiler built using the meta-compilation system JastAdd. One of the main features of JastAddJ is that it supports modular extensions, making it well suited to use as a base compiler when implementing various types of language extensions or new languages built on top of Java. This thesis examines the possibility of extending JastAddJ with a module supporting the latest Java release, Java 8. The features introduced in Java 8 include anonymous methods, or lambdas, and a way to refer to already existing methods. To facilitate the use of these features, other updates to the language include new interface methods, intersection type casts and an update to the Java overload resolution algorithm. An implementation of most of these features is presented and evaluated with respect to completeness, modularity, code size, compilation time and memory usage. An extensive unit testing suite was also constructed and evaluated.

  AT THIS PAGE YOU CAN DOWNLOAD THE WHOLE ESSAY. (follow the link to the next page)