Somogyi, Zoltan; Henderson, Fergus; Conway, Thomas The execution algorithm of mercury, an efficient purely declarative logic programming language. (English) Zbl 0877.68015 J. Log. Program. 29, No. 1-3, 17-64 (1996). Summary: We introduce Mercury, a new purely declarative logic programming language designed to provide the support that groups of application programmers need when building large programs. Mercury’s strong type, mode, and determinism systems improve program reliability by catching many errors at compile time. We present a new and relatively simple execution model that takes advantage of the information these systems provide, yielding very efficient code. The Mercury compiler uses this execution model to generate portable C code. Our benchmarking shows that the code generated by our implementation is significantly faster than the code generated by mature optimizing implementations of other logic programming languages. Cited in 43 Documents MSC: 68N17 Logic programming Keywords:Mercury; programming language Software:SICStus; wamcc; Mercury PDFBibTeX XMLCite \textit{Z. Somogyi} et al., J. Log. Program. 29, No. 1--3, 17--64 (1996; Zbl 0877.68015) Full Text: DOI