Previous    Next

PROGRAM COMPILING FUNCTIONAL LANGUAGES

  1. Implement FunJava. A function value should be implemented as an object with an exec method.

  2. Implement PureFunJava. This is just like FunJava, except that several "impure" features are removed and the predefined functions have different interfaces.
  3. Implement optimizations on PureFunJava. This requires changing the Tree intermediate language so that it can represent an entire program, including function entry and exit, in a machine-independent way. After inline expansion (and other) optimizations, the program can be converted into the standard Tree intermediate representation of .
  4. Implement LazyJava.

JaVaScreenshot Previous    Next
Comments