Back to Search Start Over

How to invent a Prolog machine

Authors :
Peter Kursawe
Source :
Lecture Notes in Computer Science ISBN: 9783540164920, ICLP
Publication Year :
1986
Publisher :
Springer Berlin Heidelberg, 1986.

Abstract

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 straight forward 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 explicitely. 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.

Details

ISBN :
978-3-540-16492-0
ISBNs :
9783540164920
Database :
OpenAIRE
Journal :
Lecture Notes in Computer Science ISBN: 9783540164920, ICLP
Accession number :
edsair.doi...........c157b61f0e952d04dfb9eae0b1e0fabe
Full Text :
https://doi.org/10.1007/3-540-16492-8_70