Zoltan Somogyi c5b35aca5f Fix the declarations of builtin proc layouts.
This should fix Mantis bug #514.

runtime/mercury_builtin_types_proc_layouts.h:
    Fix the first problem: refer to four type constructors defined
    in private_builtin.m by their correct arities, so that the proc layout
    structures we generate for their unify and compare predicates
    get generated with the correct names and contents.

    The arities were probably correct when the code was written;
    we changed them from 1 to 0 at some point, and simply forgot
    to update all the affected places.

runtime/mercury_stack_layout.h:
    Fix the second problem: add "extern" to the declarations of those
    proc layout structures. Without the "extern", compilers defaulting
    the -fcommon will place these structures into common storage,
    which can be used as *definitions*. With the "extern", compilers
    should do the right thing whether or not they default to -fcommon.

runtime/mercury_unify_compare_body.h:
    Conform to the change in mercury_builtin_types_proc_layouts.h:
    refer to the affected four types using the correct arities.
2020-07-24 17:14:07 +10:00
2020-07-17 14:25:08 +10:00
2020-06-24 21:44:21 +10:00
2020-06-28 16:14:10 +10:00
2020-03-06 09:20:36 +11:00
2020-01-22 13:13:18 +11:00
2020-01-22 13:13:18 +11:00
2020-06-02 16:23:22 +10:00
2020-04-14 21:26:30 +10:00
2020-04-13 05:54:09 +10:00
2020-04-18 14:48:55 +10:00
2020-01-22 13:13:18 +11:00
2020-01-22 13:13:18 +11:00
2020-06-27 22:19:42 +10:00
2020-01-24 17:40:22 +11:00
2020-06-02 16:23:22 +10: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.

README files

The Mercury compiler has a number of 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 history file is relevant if you want to find out more about the past development of Mercury. News lists any current or future enhancements (but this isn't always up-to-date). The limitations file lists a number of 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%