arXiv Open Access 2020

Really Embedding Domain-Specific Languages into C++

Hal Finkel Alexander McCaskey Tobi Popoola Dmitry Lyakh Johannes Doerfert
Lihat Sumber

Abstrak

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.

Topik & Kata Kunci

Penulis (5)

H

Hal Finkel

A

Alexander McCaskey

T

Tobi Popoola

D

Dmitry Lyakh

J

Johannes Doerfert

Format Sitasi

Finkel, H., McCaskey, A., Popoola, T., Lyakh, D., Doerfert, J. (2020). Really Embedding Domain-Specific Languages into C++. https://arxiv.org/abs/2010.08439

Akses Cepat

Lihat di Sumber
Informasi Jurnal
Tahun Terbit
2020
Bahasa
en
Sumber Database
arXiv
Akses
Open Access ✓