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

基于WAM的Prolog编译优化
引用本文:钟宁燕 刘椿年. 基于WAM的Prolog编译优化[J]. 北京工业大学学报, 1998, 24(4): 43-49
作者姓名:钟宁燕 刘椿年
作者单位:北京工业大学计算机科学系
摘    要:描述了一个基于WAM的高度优化的全Prolog编译系统的设计与实现,本系统是在并行、约束逻辑程序设计等方向上扩充WAM的出发点和基本平台,系统能高效地进行算术表达式计算,支持各种预定义谓词,系统的键壮性和灵活性也令人满意.经过测试系统,比BPU-Prolog快7—8倍,优于国际上某些Prolog编译系统.

关 键 词:Warren抽象机(WAW)  Prolog编译  编译优化

Optimisations of A WAM-Based Prolog Compiler
Zhong Ningyan, Liu Chunnian, Miao Zhanlu. Optimisations of A WAM-Based Prolog Compiler[J]. Journal of Beijing Polytechnic University, 1998, 24(4): 43-49
Authors:Zhong Ningyan   Liu Chunnian   Miao Zhanlu
Abstract:The design and implementation of a Prolog compiler based on WAM is introduced, which is highly-optimized and covers the full Prolog. The system provides a basis for extension towards parallel logic programming and constraint logic programming.This system can evaluate arithmetic expressions efficiently and supports various predefined predicates, and the robustness and flexibility are also satisfactory. Trial runnings show that the interpretation of the compiled WAM code is 7-8 bines faster than BPU-Prolog, an interpreted system we have developed before,and better than the international Prolog compiling system, SWI-Prolog.
Keywords:WAM   Prolog compilation   optimization
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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