首页> 外国专利> PROLOG LANGUAGE COMPILER

PROLOG LANGUAGE COMPILER

机译:Prolog语言编译器

摘要

PURPOSE:To attain a fast execution of a prolog processing system of an instruction system which operates exclusively a variable by using a sorting means that decides whether the variable should be allocated to a register or a memory. CONSTITUTION:For a prolog program A10, a sentence structure is analyzed through the sentence structure analysis A20 of a prolog compiler A and an intermediate word IA30 is outputted. The word IA30 is supplied to a logic variable sorting means A40. This means A40 contains a detecting means A410 for continuous execution part of clause and an identifying means A420 which identifies the variable emerging at the continuous execution part only in order to sort and set the register variables based on the gathering of incorporated predicates having a high emerging frequency and small processing load. The means A40 outputs an intermediate word IIA50 in response to the sorted variables. For such a word IIA50, an object program A70 containing a train of instruction codes is produced and outputted through the code production A60.
机译:目的:为了实现指令系统的序言处理系统的快速执行,该指令系统的序言处理系统通过使用决定是否将变量分配给寄存器或存储器的排序装置来专门操作变量。组成:对于序言程序A10,通过序言编译器A的语句结构分析A20分析语句结构,并输出中间词IA30。字IA30被提供给逻辑变量分类装置A40。该装置A40包括用于子句的连续执行部分的检测装置A410和识别装置A420,该识别装置A420仅识别连续执行部分处出现的变量,以便基于具有高出现率的合并谓词的聚集来分类和设置寄存器变量。频率高,处理负荷小。装置A40响应于排序的变量输出中间字IIA50。对于这样的单词IIA50,包含代码指令序列的目标程序A70被生成并通过代码生成A60输出。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号