[m-rev.] for post-commit review: more samples READMEs

Julien Fischer jfischer at opturion.com
Sat Jan 15 23:53:52 AEDT 2022


For possible post-commit review ...

-----------------------------------

More samples READMEs.

samples/csharp_interface/README.md:
     Add a README file for this subdirectory.

samples/java_interface/README:
     Rename this file to README.md; convert its contents
     to Markdown.

Julien.

diff --git a/samples/csharp_interface/README.md b/samples/csharp_interface/README.md
new file mode 100644
index 000000000..c669b199c
--- /dev/null
+++ b/samples/csharp_interface/README.md
@@ -0,0 +1,11 @@
+Mercury C# Interface Examples
+=============================
+
+This directory contains some examples of mixed Mercury/C# programs using the
+foreign language interface.
+
+* [short_example.m](short_example.m) -- A short example of a Mercury code
+  calling C# code.
+
+* [standalone_csharp](standalone_csharp) -- An example of how to call a Mercury
+  library from a C# program.
diff --git a/samples/java_interface/README b/samples/java_interface/README
deleted file mode 100644
index f44da10ec..000000000
--- a/samples/java_interface/README
+++ /dev/null
@@ -1,11 +0,0 @@
-This directory contains some examples of mixed Mercury/Java programs using
-the Java interface.
-
-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.
diff --git a/samples/java_interface/README.md b/samples/java_interface/README.md
new file mode 100644
index 000000000..ed792bcae
--- /dev/null
+++ b/samples/java_interface/README.md
@@ -0,0 +1,14 @@
+Mercury Java Interface Examples
+===============================
+
+This directory contains some examples of mixed Mercury/Java programs using
+the foreign language interface.
+
+* [mercury_calls_java](mercury_calls_java) -- A detailed example of Mercury
+  code calling Java code.
+
+* [java_calls_mercury](java_calls_mercury) -- A detailed example of Java code
+  calling Mercury code.
+
+* [standalone_java](standalone_java) -- An example of how to call a Mercury
+  library from a Java program.


More information about the reviews mailing list