Refine
Year of publication
- 2014 (1)
Document Type
Language
- English (1)
Has Fulltext
- no (1)
Is part of the Bibliography
- no (1)
Keywords
- Code Generation (1)
- Common Lisp (1)
- Configurability (1)
- Macro (1)
- Maintenance (1)
- Meta Programming (1)
Institute
Begutachtungsstatus
- peer-reviewed (1)
We describe the design and implementation of CGen, a C code generator with support for Common Lisp-style macro expansion. Our code generator supports the simple and efficient management of variants, ad hoc code generation to capture reoccurring patterns, composable abstractions as well as the implementation of embedded domain specific languages by using the Common Lisp macro system. We demonstrate the applicability of our approach by numerous examples from small scale convenience macros over embedded languages to real-world applications in high-performance computing.