计算机科学 > 程序设计语言
[提交于 2020年10月16日]
标题:Really Embedding Domain-Specific Languages into C++
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Domain-specific languages (DSLs) are both pervasive and powerful, but remain difficult to integrate into large projects. As a result, while DSLs can bring distinct advantages in performance, reliability, and maintainability, their use often involves trading off other good software-engineering practices. In this paper, we describe an extension to the Clang C++ compiler to support syntax plugins, and we demonstrate how this mechanism allows making use of DSLs inside of a C++ code base without needing to separate the DSL source code from the surrounding C++ code.
提交历史
来自:Alexander McCaskey[v1] 2020年10月16日 星期五 15:12:13 UTC