Work

Prolog

language · 1972

Programming Languages Logic Programming Artificial Intelligence

Prolog (Programming in Logic) is a logic programming language based on formal logic. Created by Alain Colmerauer, it allows programmers to express problems as logical relations, with the computer determining how to solve them.

Origins

Colmerauer developed Prolog at the University of Aix-Marseille in 1972, building on work in automatic theorem proving. The goal was to create a practical programming language based on first-order logic.

Key Concepts

Prolog uses a different paradigm from conventional languages:

How It Works

In Prolog, you define facts and rules:

Then query: ?- grandparent(tom, Who).

Impact

Prolog influenced computing significantly: