-
Notifications
You must be signed in to change notification settings - Fork 3
Foreign Language Interface
Kayo Tei edited this page Feb 20, 2026
·
1 revision
SLIM allows LMNtal programs to call C functions.
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.