Zoltan Somogyi d65e843575 Add a mechanism for recording *all* command line args.
This should allow programs to report bad command line arguments
(such as --i-am-not-an-option) and still keep going, if they wish.

library/getopt_io.m:
    Add record_all_arguments, a version of the existing record_arguments
    predicate that processes the entire command line even in the presence
    of errors.

    To make this possible, rewrite record_arguments' existing code
    to separate out the handling of individual options from the code
    that decides whether to stop processing. The code of both
    record_arguments and record_all_arguments is now a thin veneer
    on top of the new record_argument (singular) predicate, which
    does the first job above. The separation of concerns and the new,
    documented data structures should also make the new code easier
    to understand.

library/getopt.m:
    Automatic copy of the new getopt_io.m.

NEWS.md:
    Announce the new predicate.

RELEASE_NOTES_NEXT:
    Add a reminder about deleting getopt_io.m.
2025-12-17 13:02:02 +11:00
2025-12-14 18:54:28 +11:00
2024-03-13 16:50:00 +11:00
2024-12-30 20:17:22 +11:00
2025-08-25 15:48:28 +02:00
2025-11-01 16:50:02 +11:00
2025-01-01 15:09:38 +11:00
2025-08-12 13:06:18 +02:00
2025-08-12 13:06:18 +02:00
2025-08-09 10:14:25 +02:00
2023-01-23 04:11:07 +11:00
2023-01-23 02:13:54 +11:00
2025-05-14 15:20:43 +10:00
2023-09-13 16:49:23 +10:00
2024-01-14 17:11:17 +11:00
2023-01-23 13:09:02 +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:

Other information

See the current release notes for the latest stable release. The news file lists any recent changes. The history file is 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%