In this paper, we present a framework to generate compilers for embedded domain-specific languages (EDSLs). This framework provides facilities to automatically generate the boilerplate code required for building DSL compilers on top of extensible optimizing compilers. We evaluate the practicality of our framework by demonstrating several use-cases successfully built with it.
@article{arxiv.1808.01344,
title = {A Compiler-Compiler for DSL Embedding},
author = {Amir Shaikhha and Vojin Jovanovic and Christoph Koch},
journal= {arXiv preprint arXiv:1808.01344},
year = {2018}
}