This directory contains some examples of mixed Mercury/Java programs using the foreign language interface.
-
short_example.m -- A short example of Mercury code calling Java code.
-
mercury_calls_java -- A detailed example of Mercury code calling Java code.
-
java_calls_mercury -- A detailed example of Java code calling Mercury code.
-
standalone_java -- An example of how to call a Mercury library from a Java program.