From 147b290bd26fbf1e1f4f82b16e6287644ced0563 Mon Sep 17 00:00:00 2001 From: Julien Fischer Date: Sat, 14 Mar 2026 00:27:27 +1100 Subject: [PATCH] Fix minor problems in some READMEs. Documentation/README.CSharp.md: Documentation/README.Java.md: Documentation/README.MSYS2.md: As above. --- Documentation/README.CSharp.md | 6 +++--- Documentation/README.Java.md | 2 +- Documentation/README.MSYS2.md | 12 ++++++------ 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Documentation/README.CSharp.md b/Documentation/README.CSharp.md index c881d8cc1..a337cf263 100644 --- a/Documentation/README.CSharp.md +++ b/Documentation/README.CSharp.md @@ -67,8 +67,8 @@ assembly, e.g. `hello.exe`, and a wrapper shell script named `hello`. The wrapper shell script will set the `MONO_PATH` environment variable to point to the location of the Mercury standard library assemblies. -It will then invoke then CLI execution environment on the process assembly. -You can run the program using wrapper shell script, for example: +It will then invoke the CLI execution environment on the process assembly. +You can run the program using the wrapper shell script, for example: ``` ./hello @@ -163,7 +163,7 @@ supported or not fully implemented: Due to some limitations in RTTI support, dynamic type checking is missing for these predicates. They should be used with care. -4. `math.fma/3` +4. `math.fma/3` This function is not available because it is not supported by C# 5.0. (It will be supported once the minimum version of C# required by diff --git a/Documentation/README.Java.md b/Documentation/README.Java.md index 696272220..0dd389958 100644 --- a/Documentation/README.Java.md +++ b/Documentation/README.Java.md @@ -34,7 +34,7 @@ In order to use Mercury's Java backend you will need: * The [Java SE platform](https://www.oracle.com/java/technologies/downloads/). * OR another compatible Java implementation, such as - [OpenJDK](https://openjdk.org) or [Amazon Coretto](https://aws.amazon.com/coretto/). + [OpenJDK](https://openjdk.org) or [Amazon Corretto](https://aws.amazon.com/corretto/). Installing the `java` grade --------------------------- diff --git a/Documentation/README.MSYS2.md b/Documentation/README.MSYS2.md index 6a3196d1c..9145e4311 100644 --- a/Documentation/README.MSYS2.md +++ b/Documentation/README.MSYS2.md @@ -94,8 +94,8 @@ If you want to install a Mercury compiler that creates native 64-bit Windows executables, then we recommend using the `UCRT64` environment. We do not recommend using the `MINGW64` environment *unless* your code requires the MSVCRT (e.g. because it contains foreign code that depends on it). -You should also note that MSYS2 project considers the `MINGW32` environment to -be a legacy environment. +You should also note that the MSYS2 project considers the `MINGW32` environment +to be a legacy environment. Aside from the above, there is also a `CLANGARM64` MSYS2 environment. We have not tested Mercury in this environment. It may or may not work. Users who @@ -190,7 +190,7 @@ To build Mercury directly from `git`, you also need the following packages: To install these packages do: - pacman -S m4 autoconf flex bison + pacman -S m4 autoconf flex bison Building Mercury directly from `git` requires that you have an already installed Mercury compiler in the MSYS2 `PATH` to bootstrap from. You can @@ -300,7 +300,7 @@ To install the Mercury source distribution in any of the MSYS2 `UCRT64`, **Correct installation prefix**: - ./configure --prefix="C:/mercury" (Drive letter and forward slash) + ./configure --prefix="C:/mercury" (Drive letter and forward slash) **Incorrect installation prefixes**: @@ -319,7 +319,7 @@ To install the Mercury source distribution in any of the MSYS2 `UCRT64`, `configure` command to tell it that you want to use `clang` as the C compiler to build Mercury. - ./configure --prefix="C:/mercury" --with-cc=clang + ./configure --prefix="C:/mercury" --with-cc=clang Other options to the `configure` script behave as they do on other systems. @@ -359,7 +359,7 @@ in the MSYS2 `PATH`. To add it to the MSYS2 `PATH`, do the following: - export PATH="/c/WINDOWS/Microsoft.NET/Framework/v4.0.30319/":$PATH + export PATH="/c/WINDOWS/Microsoft.NET/Framework/v4.0.30319/":$PATH The details will vary depending on which version of .NET you are using.