首页> 外文会议>IEEE Southeastcon >A new efficient incremental evaluator for attribute grammars allowing conditional semantic equations
【24h】

A new efficient incremental evaluator for attribute grammars allowing conditional semantic equations

机译:用于允许条件语义方程的属性语法的新高效增量评估

获取原文

摘要

The evaluator presented performs a depth-first search of the (static) reverse dependency graph associated with a parse tree, interleaved with the execution of semantic rules. The full compound dependency graph is not constructed. Instead, it is implicitly represented by the semantic tree and the dependency graph of the productions. The semantic rules are precompiled as programs written in intermediate code and called semantic modules. Evaluation is a call-by-need evaluation and it is optimal in the number of attribute instances evaluated.
机译:呈现的评估器执行与解析树相关联的(静态)反向依赖图的深度搜索,以解析树木交互,执行语义规则。没有构造完整的复合依赖图。相反,它由语义树和产品的依赖图隐含地表示。语义规则是在中间代码中编写的程序和称为语义模块的程序。评估是逐个需求的评估,并且在评估的属性实例的数量中是最佳的。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号