How to invent a Prolog machine (Q1819928)
From MaRDI portal
scientific article
Language | Label | Description | Also known as |
---|---|---|---|
English | How to invent a Prolog machine |
scientific article |
Statements
How to invent a Prolog machine (English)
0 references
1987
0 references
In this paper we study the compilation of Prolog by making visible hidden operations (especially unification), and then optimizing them using well- known partial evaluation techniques. Inspection of straightforward partially evaluated unification algorithms gives an idea how to design special abstract machine instructions which later form the target language of our compilation. We handle typical compiler problems like representation of terms explicitly. This work gives a logical reconstruction of abstract Prolog machine code, and represents an approach of constructing a correct compiler from Prolog to such a code. As an example, we are explaining the unification principles of Warren's new Prolog engine within our framework.
0 references
compiling Prolog
0 references
deriving instruction sets
0 references
compilation of Prolog
0 references
hidden operations
0 references
unification
0 references
partial evaluation
0 references
abstract Prolog machine
0 references
Warren's new Prolog engine
0 references