1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2024-12-22 02:31:12 +00:00

Updated Home (markdown)

David Schmenk 2017-12-05 10:00:39 -08:00
parent 4804d2f479
commit 851fe4af42

12
Home.md

@ -1 +1,11 @@
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. In no particular order...
# 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...