【24h】

Programmable Signatures

机译:可编程签名

获取原文

摘要

When compiling Embedded Domain Specific Languages (EDSLs) into other languages, the compiler translates types in the source language into corresponding types in the target language. The translation is often driven by a small set of rules that map a single type in the source language into a single type in the target language. This simple approach is limiting when there are multiple possible mappings, and it may lead to poor interoperability and poor performance in the generated code. Instead of hard-wiring a single set of translation rules into a compiler, this paper introduces a small language that lets the programmer describe the mapping of each argument and function separately.
机译:将嵌入式域特定语言(EDSL)编译为其他语言时,编译器将源语言中的类型转换为目标语言中的相应类型。翻译通常由一小组规则驱动,该规则将源语言中的单个类型映射到目标语言中的单个类型。当存在多种可能的映射时,这种简单的方法是限制性的,并且可能导致所生成的代码中的互操作性差和性能差。本文介绍了一种小型语言,而不是将单一的转换规则进行了硬链式转换规则,介绍了一种小语言,让程序员单独描述每个参数和功能的映射。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号