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 [Article] (doi:10.1145/1391956.1391958)
|
PDF
Download (298kB) | Preview |
Abstract
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: | 30 Nov 2022 01:53 |
URI: | https://eprints.mdx.ac.uk/id/eprint/5920 |
Actions (login required)
![]() |
View Item |
Statistics
Additional statistics are available via IRStats2.