[m-users.] Example of foreign function interface

Zoltan Somogyi zoltan.somogyi at runbox.com
Fri Apr 21 08:23:41 AEST 2017



On Thu, 20 Apr 2017 22:42:53 +0300, Left Right <olegsivokon at gmail.com> wrote:
> As a learning exercise, I would like to write Mercury bindings for an
> NLP library: link-grammar. Can you, please point me to some examples
> (perhaps in Mercury's own code) of wrapping calls to C library?

Just search for foreign_proc in the Mercury standard library and in the extras.

Zoltan.




More information about the users mailing list