首页> 美国政府科技报告 >An Experience on Language Implementation Using Attribute Grammars
【24h】

An Experience on Language Implementation Using Attribute Grammars

机译:使用属性语法实现语言的经验

获取原文

摘要

The report describes an implementation of a subset of the programming language Euclid. The implementation was carried out using the compiler writing system HLP whose semantic part is based on attribute grammars. The one-pass design principles of the attribute grammar are explained, and some typical fragments of the grammar are examined in detail. An overview of code generation is given. An assessment of the attribute grammar shows that the conventional compiler oriented view adopted by the grammar designer leads to a specification that has very little descriptive value. A design discipline that emphasizes nonterminals rather than productions is suggested and its usefulness is demonstrated with a small case study.

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号