Introduction

Morpho is a multi-paradigm programming language that supports procedural, object-oriented and functional programming. Morpho has a unique module system that is designed to make it easy to compose modules in various ways. Module operations support generic programming by viewing modules as substitutions. The Morpho linker is an integral part of the Morpho compiler.

A major design goal in Morpho is to support ultra-lightweight threads and fibers. Morpho is stackless and has closures and lexical environments.

The Morpho runtime is implemented using a very simple scheme of indirect threading where each operation is an object. Morpho is implemented as a scripting language on top of Java. Morpho acts as a lightweight scripting language, adding scalability and functionality to Java.