Domain specific language implementation via compile-time meta-programming.

Tratt, Laurence (2008) Domain specific language implementation via compile-time meta-programming. ACM transactions on programming languages and systems, 30 (6). pp. 1-40. ISSN 0164-0925

Download (298kB)
This item is available in: Library Catalogue


Domain specific languages (DSLs) are mini-languages that are increasingly seen as being a valuable tool for software developers and non-developers alike. DSLs must currently be created in an ad-hoc fashion, often leading to high development costs and implementations of variable quality. In this article, I show how expressive DSLs can be hygienically embedded in the Converge programming language using its compile-time meta-programming facility, the concept of DSL blocks, and specialised error reporting techniques. By making use of pre-existing facilities, and following a simple methodology, DSL implementation costs can be significantly reduced whilst leading to higher quality DSL implementations.

Item Type: Article
Research Areas: A. > School of Science and Technology > Computer and Communications Engineering
ISI Impact: 3
Item ID: 5920
Depositing User: Dr Laurence Tratt
Date Deposited: 27 May 2010 12:28
Last Modified: 03 Mar 2016 13:39

Actions (login required)

Edit Item Edit Item