Skip to content
HN On Hacker News ↗

GitHub - Mercury-Language/mercury: The Mercury logic programming system.

▲ 94 points 23 comments by Antibabelic 6d ago HN discussion ↗

Pangram verdict · v3.3

We believe that this document is fully human-written

0 %

AI likelihood · overall

Human
100% human-written 0% AI-generated
SEGMENTS · HUMAN 1 of 1
SEGMENTS · AI 0 of 1
WORD COUNT 261
PEAK AI % 0% · §1
Analyzed
May 20
backend: pangram/v3.3
Segments scanned
1 windows
avg 261 words each
Distribution
100 / 0%
human / AI fraction
Verdict
Human
Pangram v3.3

Article text · 261 words · 1 segments analyzed

Human AI-generated
§1 Human · 0%

Mercury is a logic/functional programming language which combines the clarity and the expressiveness of declarative programming with advanced static analysis and error detection features. More information is available on the website's about pages, in other README files in the source code repository, and in the documentation. Small sample programs written in Mercury can be found in the samples and extras directories of the source code repository. README files The Mercury compiler has two different backends and works on different operating systems. Specific information is contained in individual README files in the Documentation directory:

Bootstrapping discusses how to get Mercury installed. This is important, as the Mercury compiler is written in Mercury.

C Low-level backend This backend works well with GCC but also works with:

Clang

High-level backend targets

C C# Java

Supported operating systems

Linux (AArch64, PPC, m68k) macOS FreeBSD OpenBSD AIX HP-UX Solaris Windows (Visual C, MSYS2, Cygwin)

Other platform information

Cross compilation Docker x86

Other information See the current release notes for the latest stable release. The news file lists any recent changes. The files in the Documentation directory whose names start with NEWS are relevant if you want to find out more about the past development of Mercury. The limitations file lists some ways in which the Mercury implementation does not yet meet its goals. Information for developers If you are considering contributing to the Mercury project, the website contains some documents that may be helpful. These include a document about contributions in general and specific information about contributing such as coding styles. Contact See our contact page.