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

Article


Tratt, L. 2008. Domain specific language implementation via compile-time meta-programming. ACM Transactions on Programming Languages and Systems. 30 (6), pp. 1-40. https://doi.org/10.1145/1391956.1391958
TypeArticle
TitleDomain specific language implementation via compile-time meta-programming.
AuthorsTratt, L.
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.

PublisherAssociation for Computing Machinery (ACM)
JournalACM Transactions on Programming Languages and Systems
ISSN0164-0925
Electronic1558-4593
Publication dates
Online30 Oct 2008
PrintOct 2008
Publication process dates
Submitted01 Feb 2006
Accepted01 Jan 2008
Deposited27 May 2010
Output statusPublished
Digital Object Identifier (DOI)https://doi.org/10.1145/1391956.1391958
LanguageEnglish
File
Permalink -

https://repository.mdx.ac.uk/item/82wwq

Download files

  • 23
    total views
  • 6
    total downloads
  • 2
    views this month
  • 2
    downloads this month

Export as