首页> 外文会议>Compiler Construction >A Pattern Matching Compiler for Multiple Target Languages
【24h】

A Pattern Matching Compiler for Multiple Target Languages

机译:用于多种目标语言的模式匹配编译器

获取原文

摘要

Many processes can be seen as transformations of tree-like data structures. In compiler construction, for example, we continuously manipulate trees and perform tree transformations. This paper introduces a pattern matching compiler (TOM): a set of primitives which add pattern matching facilities to imperative languages such as C, Java, or Eiffel. We show that this tool is extremely non-intrusive, lightweight and useful to implement tree transformations. It is also flexible enough to allow the reuse of existing data structures.
机译:许多过程可以看作是树状数据结构的转换。例如,在编译器构造中,我们不断地操作树并执行树转换。本文介绍了一种模式匹配编译器(TOM):一组原语,它们向诸如C,Java或Eiffel之类的命令性语言添加了模式匹配功能。我们证明了该工具是非常非侵入性的,轻量级的,并且对于实现树转换非常有用。它也足够灵活,可以重用现有的数据结构。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号