A brief introduction is given in the article Spiel (fast) ohne Grenzen. A detailed technical description of the concept of Dynamic Modules is published in the MuPAD Report Vol. 1. We are working on an english documentation, but this will not be available before spring 1997.
Dynamic Modules are supported on UNIX systems. The Macinosh PowerPC of MuPAD will be supported soon. The Windows 95 version will follow a few weeks later.
Module: 'test' created on 11.Nov.96 by mmg R-1.3.0
A Demo Module
Interface:
test::date, test::doc
"Mon Nov 11 19:44:14 1996"
"Mon Nov 11 19:44:29 1996"
MFUNC( date, MCnop ) { time_t clock; char *dstrg; MFnargsCheck(0); time(&clock); dstrg = ctime(&clock); dstrg[24] = '\0'; MFreturn( MFstring(dstrg) ); } MFENDIn order to generate a loadable (binary) MuPAD Module this source code is saved in the file test.C and the so-called MuPAD Module Generator (mmg) is called. The Module Generator adds some code for the module management and controls the run of the compiler and linker. After that, the Dynamic Module test.mdm is placed in the current directory:
andi> mmg test.C -V "Ein Testmodul" andi> ls test.* test.C test.mdm*This can be loaded in MuPAD as demonstrated above.