Paradigm | Logic, functional, object-oriented[citation needed] |
---|---|
Designed by | Zoltan Somogyi |
Developer | University of Melbourne |
First appeared | April 8, 1995 |
Stable release | 22.01.8[1]
/ 8 September 2023 |
Typing discipline | Strong, static, polymorphic |
Implementation language | Mercury |
Platform | IA-32, x86-64, Arm, SPARC64, Java, CLI |
OS | Cross-platform: Unix, Linux, macOS, Solaris, FreeBSD, OpenBSD, Windows, Android |
License | GPL compiler, LGPL standard library |
Filename extensions | .m |
Website | www |
Major implementations | |
Melbourne Mercury Compiler | |
Influenced by | |
Prolog, Hope, Haskell |
Mercury is a functional logic programming language made for real-world uses. The first version was developed at the University of Melbourne, Computer Science department, by Fergus Henderson, Thomas Conway, and Zoltan Somogyi, under Somogyi's supervision, and released on April 8, 1995.
Mercury is a purely declarative logic programming language. It is related to both Prolog and Haskell.[2] It features a strong, static, polymorphic type system, and a strong mode and determinism system.
The official implementation, the Melbourne Mercury Compiler, is available for most Unix and Unix-like platforms, including Linux, macOS, and for Windows.