Premium
Implementation techniques for prolog databases
Author(s) -
Clocksin W. F.
Publication year - 1985
Publication title -
software: practice and experience
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.437
H-Index - 70
eISSN - 1097-024X
pISSN - 0038-0644
DOI - 10.1002/spe.4380150705
Subject(s) - prolog , computer science , programming language , compiler , database , implementation
All clauses comprising a Prolog program are stored in a database from which they can be removed later. Other long‐term data structures are represented as clauses and are also stored and removed from the same database. Implementation techniques for the manipulation of clauses are not well known, and a lack of information has led to incorrect and incomplete implementations. Further previously unresolved issues are apparent when considering the storage of compiled clauses. We describe the way database manipulations are performed in Prolog‐X, a new compiler‐based Prolog system. We also introduce a new technique for storing the source form of compiled clauses.