Library Creation and Management in OML for Compose
A library is a self-contained set of files which provides additional functions for the OML language.
OML Libraries
From a file/delivery standpoint, a library is a folder, usually delivered as a ZIP file. The library content is represented in the image below:
- third_party/ is needed if the code used in a library depends on a third-party library.
- src/ may be used by the library creator to include the
source code of the OML libraries. The folders
demos/ and help/ are optional,
too, although strongly recommended. Demos (.oml
scripts) placed in the demos/ folder are automatically
included by Compose and listed in the Demo Browser.
Mandatory elements in a library are:
- loader.oml (or loader.omc)
- Either the scripts/ or bin/ folder (both are permitted).