Really Embedding Domain-Specific Languages into C++

10/16/2020
by   Hal Finkel, et al.
0

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.

READ FULL TEXT
research
02/14/2019

We should Stop Claiming Generality in our Domain-Specific Language Papers

Our community believes that new domain-specific languages should be as g...
research
08/03/2018

A Compiler-Compiler for DSL Embedding

In this paper, we present a framework to generate compilers for embedded...
research
09/11/2017

A Domain-specific Language for High-reliability Software used in the JUICE SWI Instrument - The hO Language Manual

hO is a custom restricted dialect of Oberon, developed at the Max-Planck...
research
09/02/2022

Performance of the Vipera framework for DSLs on micro-core architectures

Vipera provides a compiler and runtime framework for implementing dynami...
research
11/29/2021

Enhancing syntax expressiveness in domain-specific modelling

Domain-specific modelling helps tame the complexity of today's applicati...
research
08/30/2011

Domain-specific Languages in a Finite Domain Constraint Programming System

In this paper, we present domain-specific languages (DSLs) that we devis...
research
01/23/2023

Modal Reactors

Complex software systems often feature distinct modes of operation, each...

Please sign up or login with your details

Forgot password? Click here to reset