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


15.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 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.