CODIGO
log in

Prolog

AKA Logic Programming

Summary

Prolog is a logic programming language associated with artificial intelligence and computational linguistics. It is based on formal logic and uses a declarative approach where programs are expressed as facts and rules.

Paradigms

logic, declarative, rule-based, constraint, modular

Domains

artificial intelligence, knowledge-based system, natural-language, automated theorem proving, education

Key Features

pattern matching, meta-programming, modules, tail-call optimization, first-class functions

Typing

dynamic system, structural typing, strong typing, partial inference, runtime checking, conservative type coercion, no type annotations

Compilation

interpreted, compiled

Influenced By

Planner, LISP

Ratings

Startup time
▊▊
▊▊
▊▊
▊▊
▊▊
Memory usage
▊▊
▊▊
▊▊
▊▊
▊▊
Computation speed
▊▊
▊▊
▊▊
▊▊
▊▊
Compilation speed
▊▊
▊▊
▊▊
▊▊
▊▊
Maturity
▊▊
▊▊
▊▊
▊▊
▊▊
Community size
▊▊
▊▊
▊▊
▊▊
▊▊
Learning resources
▊▊
▊▊
▊▊
▊▊
▊▊
Job market demand
▊▊
▊▊
▊▊
▊▊
▊▊
Learning curve
▊▊
▊▊
▊▊
▊▊
▊▊
Cognitive load
▊▊
▊▊
▊▊
▊▊
▊▊
Syntax complexity
▊▊
▊▊
▊▊
▊▊
▊▊
Semantic complexity
▊▊
▊▊
▊▊
▊▊
▊▊
Memory safety
▊▊
▊▊
▊▊
▊▊
▊▊
Concurrency ease of use
▊▊
▊▊
▊▊
▊▊
▊▊
Std lib maturity
▊▊
▊▊
▊▊
▊▊
▊▊
Std lib size
▊▊
▊▊
▊▊
▊▊
▊▊
Backwards compatibility
▊▊
▊▊
▊▊
▊▊
▊▊
Documentation quality
▊▊
▊▊
▊▊
▊▊
▊▊

File extensions

pl, plt, pro, prolog, yap

External Links

Status active
Type programming
Created 1972
Designed by Alain Colmerauer
Robert Kowalski
Philippe Roussel
Developed by University of Marseille
University of Edinburgh
PyPL Index N/A
TIOBE Index #22
GitHub rank #53

Code Example

Loading...