Skip to content
David Schmenk edited this page Dec 5, 2017 · 23 revisions

PLASMA Libraries and Sample Code

These pages are for documenting and discussing the libraries and sample code supplied with PLASMA. The language is documented on the main page and hopefully answers any language specific questions.

PLASMA has grown over a number of years and certain constructs have been developed over that time. As a result, some samples may look slightly different than others. Libraries, for instance, have been worked out to provide an API based on function pointers. This allows machine differences to be determined at run time and hidden from other modules. Each library will provide a header file that exports a pointer to a function list as a structure. To call a library function, it will something like:

libAPI:someFunc()

If the function doesn't have any parameters, the () are still required because the function will be accessed as just a word without them. The syntax superficially resembles object oriented language constructs and not by accident.

In no particular order...

Clone this wiki locally