SLIM allows LMNtal programs to call C functions.

Foreign-Language Interface in SLIM

SLIM allows LMNtal programs to call functions written in C. An LMNtal atom

'$callback'(function_name, arg1, arg2, ...)

calls the C function function_name with the specified arguments. Examples of callbacks can be found in the library programs located in the $LMNTAL_HOME/lib directory, and the corresponding C functions can be found in the $LMNTAL_HOME/src/ext directory.


Reload   New Edit Freeze Diff Upload Copy Rename   Front page List of pages Search Recent changes Backup   Help   RSS of recent changes
Last-modified: 2017-03-02 (Thu) 03:32:49 (290d)