Abstract:
In this report we present Java/MP, a multiparadigm language designed as an extension to Java. Java/MP is an
upward compatible superset of Java and incorporates the object oriented, functional and logical paradigms.
Java/MP programs are compatible with the standard Java virtual machine. Many of the ideas in Java/MP have
been borrowed from an earlier multiparadigm language Leda which is based on Pascal. One of the objectives
in the design of Java/MP was to add as few features as possible and make the extensions feel natural and
evolutionary. A prototype compiler was developed as part of this project. Java/MP is currently implemented
as a preprocessor that translates Java/MP code into pure Java.
This report describes the features new to Java/MP and also the translation techniques used by the prototype
compiler. We will also take a look at some sample programs written in Java/MP.