Zoltan Somogyi d451d8aca5 Simplify the error_spec type.
compiler/error_spec.m:
    Delete the function symbol of the error_msg_component type
    that allowed the inclusion of help text *if* an option had a given value.
    This functionality has been unused since we made all warning and
    informational error_specs conditional on an option.

    Delete the subtype whose only job was to rule out the now-deleted
    function symbol.

    Add a comment about a possible solution of a have-your-cake-AND-eat-it
    problem.

compiler/error_sort.m:
compiler/error_util.m:
compiler/write_error_spec.m:
    Conform to the change in error_spec.m.
2026-04-06 10:35:59 +10:00
2026-04-06 10:35:59 +10:00
2026-03-13 22:14:57 +11:00
2026-04-02 23:22:02 +11:00
2026-02-04 04:17:41 +11:00
2026-03-31 10:17:27 +11:00
2026-04-05 12:31:29 +10:00
2026-03-13 14:50:15 +11:00
2026-02-07 15:56:32 +11:00
2026-01-16 02:45:19 +11:00
2026-01-01 19:56:20 +11:00
2026-01-13 17:30:27 +11:00

Mercury

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:

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.

Description
No description provided
Readme MIT 145 MiB
Languages
Mercury 85.4%
C 8.7%
Shell 1.4%
Makefile 1%
JavaScript 1%
Other 2%