首页> 外文期刊>IBM Journal of Research and Development >Compiling circular attribute grammars into Prolog
【24h】

Compiling circular attribute grammars into Prolog

机译:将循环属性语法编译到Prolog中

获取原文
           

摘要

This paper describes an algorithm for compiling attribute grammars into Prolog. The attribute grammars may include inherited and synthesized attributes and contain recursive (circular) definitions. The semantics of the recursive definitions is defined in terms of a fixed-point finding function. The generated Prolog code stands in direct relation to its attribute grammar, where logical variables play the role of synthesized or inherited attributes. Thus an effective method for the execution of recursive attribute grammars has been defined and applied.
机译:本文介绍了一种将属性语法编译为Prolog的算法。属性语法可以包括继承和合成的属性,并包含递归(循环)定义。递归定义的语义是根据定点查找功能定义的。生成的Prolog代码与其属性语法直接相关,其中逻辑变量扮演合成或继承属性的角色。因此,已经定义并应用了一种有效的执行递归属性语法的方法。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号