This is an old version, saved 4 Dec 2026, 17:26 by TechWritereditor. It is the current version.
Prolog
Prolog is a logic programming language in which a program is written as a set of logical relations, and the computer works out answers from them instead of following step-by-step instructions.[1] It was created in the summer of 1972 by Alain Colmerauer and Philippe Roussel in Marseille, France.[2] Its name, suggested by Roussel's wife Jacqueline, is short for the French "programmation en logique".[2]
History
In the summer of 1971 the British logician Robert Kowalski visited Colmerauer's Artificial intelligence group in Marseille, where the two worked on representing grammars in logic and parsing sentences; on Kowalski's return in spring 1972, the idea of programming in predicate logic emerged.[2][3] Colmerauer and Roussel wrote the first Prolog system in Algol-W in 1972, and one of the first large Prolog programs was a natural language processing system.[2] A second implementation, written in Fortran, followed in late 1973.[3] In 1975 David H. D. Warren's compiler for DEC-10 Prolog became the first to translate Prolog into machine code, and in 1983 Warren devised the Warren Abstract Machine, a design for running Prolog efficiently.[3] Widely used systems such as SICStus Prolog and SWI-Prolog date from 1986.[3] The core of the language was standardised internationally as ISO/IEC 13211-1, published in June 1995.[4]
How it works
Prolog is declarative: the programmer describes what is true and what is wanted, and an "inference engine" searches for solutions, a style Britannica compares with the SQL database language.[1] The same program can be read both as logic and as a procedure for computing, based on a restricted form of logic called Horn clauses.[2]
Uses
Prolog has been used for natural language understanding and expert systems.[1] Other applications include dialogue systems, planning and symbolic computing, and Prolog played a key role in IBM's Watson question-answering system, which won the Jeopardy! challenge.[5]
See also
References
- ^ PROLOG. Encyclopaedia Britannica. britannica.com
- ^ The Early Years of Logic Programming. Imperial College London (Communications of the ACM). 1988-01-01. doc.ic.ac.uk
- ^ Fifty Years of Prolog and Beyond. Theory and Practice of Logic Programming (arXiv). 2022-03-14. arxiv.org
- ^ ISO/IEC 13211-1:1995 Programming languages — Prolog — Part 1: General core. ISO. 1995-06-01. iso.org
- ^ Alain Colmerauer, Father of Prolog, Dies at 76. Communications of the ACM. 2017-05. cacm.acm.org