Introduction
The Mosel environment may be extended by means of modules. A module may bring into the Mosel Language:
- constant symbols
- functions and procedures
- types
- operators (like `+') to be applied to the types introduced by the module
- control parameters
- IO drivers
Mosel comes with a default set of modules (like mmsystem or mmsheet) but a user can implement his own modules which are a special kind of Dynamic Shared Object (DSO) written in the C (or C++) programming language.
The Mosel Native Interface is a set of conventions that a DSO must respect to be accepted as a module by Mosel. This document describes these conventions and also gives a comprehensive list of the Mosel functions that can be accessed from a module.