首页> 外文会议>9th international conference on generative programming and component engineering 2010 >Lightweight Modular Staging: A Pragmatic Approach to Runtime Code Generation and Compiled DSLs
【24h】

Lightweight Modular Staging: A Pragmatic Approach to Runtime Code Generation and Compiled DSLs

机译:轻量级模块化分段:一种用于运行时代码生成和已编译DSL的实用方法

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

摘要

Software engineering demands generality and abstraction, performance demands specialization and concretization. Generative programming can provide both, but developing high-quality program generators takes a large effort, even if a multi-stage programming language is used. We present lightweight modular staging, a library-based multistage programming approach that breaks with the tradition of syntactic quasi-quotation and instead uses only types to distinguish between binding times. Through extensive use of component technology, lightweight modular staging makes an optimizing compiler framework available at the library level, allowing programmers to tightly integrate domain-specific abstractions and optimizations into the generation process. We argue that lightweight modular staging enables a form of language visualization, i.e. allows to go from a pure-library embedded language to one that is practically equivalent to a standalone implementation with only modest effort.
机译:软件工程需要通用性和抽象性,性能需要专门化和具体化。生成式编程可以同时提供这两种功能,但是即使使用多级编程语言,开发高质量的程序生成器也需要花费大量精力。我们提出了轻量级的模块分段,这是一种基于库的多阶段编程方法,它打破了句法准引用的传统,而是仅使用类型来区分绑定时间。通过广泛使用组件技术,轻量级的模块过渡使优化的编译器框架可用于库级别,从而使程序员可以将特定于领域的抽象和优化紧密集成到生成过程中。我们认为,轻量级的模块化过渡可以实现一种语言可视化形式,即可以通过一种简单的努力就可以将纯库嵌入语言转换为实际上等同于独立实现的语言。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号