首页 | 本学科首页   官方微博 | 高级检索  
     


How to invent a Prolog machine
Authors:Peter Kursawe
Affiliation:1. Gesellschaft für Mathematik und Datenverarbeitung mbH, Forschungsstelle an der Universit?t Karlsruhe, Haid-und-Neu-Str. 7, D-7500, Karlsruhe 1, Germany (West)
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 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.
Keywords:
本文献已被 SpringerLink 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号