Previous: Adding foreign definitions, Up: Foreign language interface   [Contents]


14.10 Language specific bindings

All Mercury implementations should support interfacing with C. The set of other languages supported is implementation-defined. A suitable compiler or assembler for the foreign language must be available on the system.

The University of Melbourne Mercury implementation supports interfacing with the following languages:

C

Use the string "C" to set the foreign language to C.

C#

Use the string "C#" to set the foreign language to C#.

Java

Use the string "Java" to set the foreign language to Java.

Erlang

Use the string "Erlang" to set the foreign language to Erlang.