The morpho language
Morpho is a dynamic language oriented toward scientific computing that was designed with the following goals:
-
Familiar. Morpho uses syntax similar to other C-family languages.
-
Simple. The syntax has been kept simple, so there are only a few things to learn; nonetheless, the features provided are very expressive, enabling the programmer to express intent cleanly.
-
Fast. Morpho programs run as efficiently as other well-implemented dynamic languages like wren, lua or python. Morpho leverages numerical libraries like BLAS, LAPACK, etc. to provide good performance.
-
Class-based. Morpho is highly object-oriented, which simplifies coding and enables reusability.
-
Extendable. Functionality is easy to extend add via modules, which can be written in Morpho or C and other compiled languages.
This book is intended as a brief introduction to Morpho, illustrating its features and providing some advice on how to use them best.