计算机科学 > 程序设计语言
[提交于 2005年9月19日]
标题:Language embeddings that preserve staging and safety
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We study embeddings of programming languages into one another that preserve what reductions take place at compile-time, i.e., staging. A certain condition -- what we call a `Turing complete kernel' -- is sufficient for a language to be stage-universal in the sense that any language may be embedded in it while preserving staging. A similar line of reasoning yields the notion of safety-preserving embeddings, and a useful characterization of safety-universality. Languages universal with respect to staging and safety are good candidates for realizing domain-specific embedded languages (DSELs) and `active libraries' that provide domain-specific optimizations and safety checks.
提交历史
来自:Todd Veldhuizen[v1] 2005年9月19日 星期一 15:30:10 UTC