From Free Software Directory
Jump to: navigation, search

Logic/functional programming language

Mercury is a modern logic/functional programming language. It includes a compiler, a debugger, a profiler, and numerous library packages and other tools. It is designed to be the successor to logic programming languages like Prolog. It combines the clarity and expressiveness of declarative programming with advanced static analysis and error detection features. Its highly optimized execution algorithm delivers efficiency far in excess of existing logic programming systems, and close to conventional programming systems. It allows modularity, separate compilation, and numerous optimization/time trade-offs.


User guide, reference manual, and tutorial available in HTMl or PostScript formats from


Download version 14.01.1 (stable)
released on 8 September 2014



LicenseVerified byVerified onNotes
License:GPLv2orlaterDeborah Nicholson9 July 2008
License:LGPLv2Deborah Nicholson9 July 2008

Leaders and contributors

Mercury core team Maintainer

Resources and communication

AudienceResource typeURI
GeneralBug Tracking
GH pageVCS Repository Webview

Software prerequisites

Required to buildgcc 2.7.2 or higher
Required to buildGNU make 3.69 or higher

This entry (in part or in whole) was last reviewed on 20 February 2017.


"User" is not in the list (General, Help, Bug Tracking, Support, Developer) of allowed values for the "Resource audience" property.

"GH page" is not in the list (General, Help, Bug Tracking, Support, Developer) of allowed values for the "Resource audience" property.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.

The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.