Zoltan Somogyi 3dabbd4edf Generate and write parse_tree_intNs in separate preds.
compiler/write_module_interface_files.m:
    Put the code that writes out parse_tree_intNs in separate predicates
    from the code that generates them.

    This separation is useful in situations in which

    - we need to generate several .intN files as fast as possible, and
    - later operations will need access to the contents of those files.

    With the current setup, we can call e.g. write_short_interface_file_int3
    on several parse_tree_module_srcs in parallel, but this comes at the cost
    of each worker process building up only its own have_parse_tree_maps
    "database" of parse trees. This means if worker process A generates
    an interface file, another worker process B will need to read that
    interface file to get access to its contents.

    With the setup created by this diff, we can generate all the parse trees
    for the interface files in the main process, keeping *all* their parse
    trees in its have_parse_tree_maps structure, and hand off each parse tree
    as it is constructed to a worker process for writing out.
2023-10-25 10:05:46 +11:00
2023-06-25 03:10:12 +10:00
2023-01-23 13:09:02 +11:00
2023-09-07 11:47:38 +10:00
2023-06-26 20:05:24 +10:00
2023-10-24 16:27:11 +11:00
2023-06-26 20:05:24 +10:00
2023-10-05 23:04:53 +11:00
2023-10-08 12:22:43 +11:00
2023-01-22 23:56:54 +11:00
2023-01-23 04:11:07 +11:00
2023-01-23 17:11:45 +11:00
2023-01-23 04:11:07 +11:00
2023-01-23 02:13:54 +11:00
2023-09-13 16:49:23 +10: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%