...
首页> 外文期刊>Theory and Practice of Logic Programming >The language features and architecture of B-Prolog
【24h】

The language features and architecture of B-Prolog

机译:B-Prolog的语言功能和体系结构

获取原文
获取原文并翻译 | 示例
           

摘要

B-Prolog is a high-performance implementation of the standard Prolog language with several extensions including matching clauses, action rules for event handling, finite-domain constraint solving, arrays and hash tables, declarative loop constructs, and tabling. The B-Prolog system is based on the Tree-Oriented Abstract Machine (TOAM) architecture which differs from the Warren Abstract Machine (WAM) mainly in that (1) arguments are passed old fashionedly through the stack, (2) only one frame is used for each predicate call, and (3) instructions are provided for encoding matching trees. The most recent architecture, called TOAM Jr., departs further from the WAM in that it employs no registers for arguments or temporary variables, and provides variable-size instructions for encoding predicate calls. This paper gives an overview of the language features and a detailed description of the TOAM Jr. architecture, including architectural support for action rules and tabling.
机译:B-Prolog是标准Prolog语言的高性能实现,具有一些扩展,包括匹配子句,事件处理操作规则,有限域约束解决方案,数组和哈希表,声明式循环构造和制表。 B-Prolog系统基于面向树的抽象机(TOAM)架构,它与Warren抽象机(WAM)的不同之处主要在于(1)自变量通过堆栈过时地传递,(2)仅一帧用于每个谓词调用,并且提供(3)指令用于对匹配树进行编码。最新的称为TOAM Jr.的体系结构与WAM的不同之处在于,它不使用用于参数或临时变量的寄存器,并且提供用于编码谓词调用的可变大小指令。本文概述了语言功能并详细介绍了TOAM Jr.体系结构,包括对操作规则和制表的体系结构支持。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号