Morpho-lang / morpho

The Morpho language 🦋. Morpho is a small embeddable language for scientific computing applications.
MIT License
30 stars 10 forks source link

Extensions #212

Closed softmattertheory closed 1 year ago

softmattertheory commented 1 year ago

Permits morpho to load 'extensions' or dynamic libraries written in C or C++ that can create functions, classes etc.

Extensions are loaded via the import statement.

Extensions must provide at minimum a EXTENSIONNAME_initialize function, which is called as soon as the extension is loaded.

Details on compiling extensions will be provided in the dev manual.