【24h】

Tangent-Linear Models by Augmented LL-Parsers

机译:增强LL解析器的切线线性模型

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

摘要

We describe a novel method for the generation of tangent-linear code by augmentation of LL-parsers generated by the software tool ANTLR. The main advantage of this approach to source code augmentation is the missing requirement for an internal representation of the original program. We consider this work as the basis for further investigations into how far this technique can be extended in the context of more sophisticated transformations, for example, the automatic generation of adjoint codes. Our prototype tool AD_C_ANTLR currently accepts a subset of the ANSI C standard. We discuss its theoretical basis, and we present a case study to underline the elegance of the parser-based approach to source augmentation.
机译:我们描述了一种通过增加由软件工具ANTLR生成的LL解析器来生成切线线性代码的新方法。这种增加源代码的方法的主要优点是缺少对原始程序内部表示的要求。我们认为这项工作是进一步研究该技术在更复杂的转换(例如,伴随代码的自动生成)的背景下可以扩展多远的基础。我们的原型工具AD_C_ANTLR当前接受ANSI C标准的子集。我们讨论了其理论基础,并提出了一个案例研究,以强调基于解析器的源增强方法的优雅之处。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号