【24h】

Really Embedding Domain-Specific Languages into C++

机译:真的将域特定语言嵌入到C ++中

获取原文

摘要

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.
机译:特定于域的语言(DSL)都是普遍性的,强大的语言,但仍然难以融入大型项目。因此,虽然DSL可以在性能,可靠性和可维护性方面带来独特的优势,但其使用通常涉及交易其他良好的软件工程实践。在本文中,我们描述了对Clang C ++编译器的扩展,以支持语法插件,我们演示了该机制如何在C ++代码库中利用DSL,而不需要将DSL源代码与周围的C ++代码分开。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号