{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,27]],"date-time":"2026-10-27T18:38:39Z","timestamp":1793126319429,"version":"4.5.0"},"reference-count":33,"publisher":"Association for Computing Machinery (ACM)","issue":"6","license":[{"start":{"date-parts":[[2008,10,1]],"date-time":"2008-10-01T00:00:00Z","timestamp":1222819200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Program. Lang. Syst."],"published-print":{"date-parts":[[2008,10]]},"abstract":"<jats:p>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.<\/jats:p>","DOI":"10.1145\/1391956.1391958","type":"journal-article","created":{"date-parts":[[2008,11,6]],"date-time":"2008-11-06T13:49:43Z","timestamp":1225979383000},"page":"1-40","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":70,"title":["Domain specific language implementation via compile-time meta-programming"],"prefix":"10.1145","volume":"30","author":[{"given":"Laurence","family":"Tratt","sequence":"first","affiliation":[{"name":"Bournemouth University, Dorset, United Kingdom"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2008,10,30]]},"reference":[{"key":"e_1_2_1_1_1","doi-asserted-by":"crossref","unstructured":"Abadi M. and Cardelli L. 1996. A Theory of Objects. Springer-Verlag New York.   Abadi M. and Cardelli L. 1996. A Theory of Objects. Springer-Verlag New York.","DOI":"10.1007\/978-1-4419-8598-9"},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1093\/comjnl\/45.6.620"},{"key":"e_1_2_1_3_1","volume-title":"D-expressions: Lisp power, Dylan style","author":"Bachrach J.","year":"1999"},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1145\/504282.504285"},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1145\/503032.503035"},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1145\/1028976.1029007"},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1145\/38765.38822"},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.5555\/2773566.2773666"},{"key":"e_1_2_1_9_1","unstructured":"Czarnecki K. O'Donnell J. Striegnitz J. and Taha W. 2004. DSL implementation in MetaOCaml Template Haskell and C++. 3016 50--71.  Czarnecki K. O'Donnell J. Striegnitz J. and Taha W. 2004. DSL implementation in MetaOCaml Template Haskell and C++. 3016 50--71."},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.1007\/BF01806308"},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1145\/362007.362035"},{"key":"e_1_2_1_12_1","volume-title":"Proceedings of the Workshop on Dynamic Languages and Applications.","author":"Fleutot F."},{"key":"e_1_2_1_13_1","unstructured":"Goldberg A. and Robson D. 1989. Smalltalk-80: The Language. Addison-Wesley Reading MA.   Goldberg A. and Robson D. 1989. Smalltalk-80: The Language. Addison-Wesley Reading MA."},{"key":"e_1_2_1_14_1","unstructured":"Grimm R. 2005. Systems need languages need systems&excl; 2nd ECOOP Workshop on Programming Languages and Operating Systems.  Grimm R. 2005. Systems need languages need systems&excl; 2nd ECOOP Workshop on Programming Languages and Operating Systems."},{"key":"e_1_2_1_15_1","doi-asserted-by":"crossref","unstructured":"Griswold R. E. and Griswold M. T. 1996. The Icon Programming Language Third ed. Peer-to-Peer Communications.   Griswold R. E. and Griswold M. T. 1996. The Icon Programming Language Third ed. Peer-to-Peer Communications.","DOI":"10.1145\/234286.1057830"},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.5555\/551789.853532"},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.1145\/319838.319859"},{"key":"e_1_2_1_18_1","doi-asserted-by":"crossref","unstructured":"Mernik M. Heering J. and Sloane A. M. 2003. When and how to develop domain-specific languages. Tech. rep. Centrum voor Wiskundeen Informatica. Dec.  Mernik M. Heering J. and Sloane A. M. 2003. When and how to develop domain-specific languages. Tech. rep. Centrum voor Wiskundeen Informatica. Dec.","DOI":"10.1109\/HICSS.2003.1174888"},{"key":"e_1_2_1_19_1","unstructured":"Schr\u00f6er F. W. 2005. The ACCENT Grammar Language. http:\/\/accent.compilertools.net\/language.html Accessed Jan 25 2005.  Schr\u00f6er F. W. 2005. The ACCENT Grammar Language. http:\/\/accent.compilertools.net\/language.html Accessed Jan 25 2005."},{"key":"e_1_2_1_20_1","volume-title":"Proceedings of the 3rd International Conference on Generative Programming and Component Engineering","author":"Seefried S."},{"key":"e_1_2_1_21_1","doi-asserted-by":"crossref","unstructured":"Sheard T. 1998. Using MetaML: A staged programming language. Adv. Funct. Prog. 207--239.  Sheard T. 1998. Using MetaML: A staged programming language. Adv. Funct. Prog. 207--239.","DOI":"10.1007\/10704973_5"},{"key":"e_1_2_1_22_1","volume-title":"Proceedings of the Workshop on Semantics, Applications and Implementation of Program Generation (SAIG '01)","author":"Sheard T.","year":"2003"},{"key":"e_1_2_1_23_1","doi-asserted-by":"publisher","DOI":"10.1145\/331960.331975"},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.1145\/581690.581691"},{"key":"e_1_2_1_25_1","unstructured":"Skalski K. Moskal M. and Olszta P. 2004. Meta-programming in Nemerle. http:\/\/nemerle.org\/metaprogramming.pdf. Accessed Nov 5 2007.  Skalski K. Moskal M. and Olszta P. 2004. Meta-programming in Nemerle. http:\/\/nemerle.org\/metaprogramming.pdf. Accessed Nov 5 2007."},{"key":"e_1_2_1_26_1","doi-asserted-by":"publisher","DOI":"10.1023\/A:1010085415024"},{"key":"e_1_2_1_27_1","doi-asserted-by":"publisher","DOI":"10.1145\/1146841.1146846"},{"key":"e_1_2_1_30_1","unstructured":"Tratt L. 2007. Converge Reference Manual. http:\/\/www.convergepl.org\/documentation\/Accessed June 3 2008.  Tratt L. 2007. Converge Reference Manual. http:\/\/www.convergepl.org\/documentation\/Accessed June 3 2008."},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.1145\/567097.567099"},{"key":"e_1_2_1_32_1","doi-asserted-by":"publisher","DOI":"10.1145\/352029.352035"},{"key":"e_1_2_1_33_1","unstructured":"van Rossum G. 2003. Python 2.3 reference manual. http:\/\/www.python.org\/doc\/2.3\/ref\/ref.html Accessed June 3 2008.  van Rossum G. 2003. Python 2.3 reference manual. http:\/\/www.python.org\/doc\/2.3\/ref\/ref.html Accessed June 3 2008."},{"key":"e_1_2_1_35_1","doi-asserted-by":"publisher","DOI":"10.1145\/155090.155105"},{"key":"e_1_2_1_36_1","doi-asserted-by":"publisher","DOI":"10.1145\/1039511.1039534"}],"container-title":["ACM Transactions on Programming Languages and Systems"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/1391956.1391958","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/1391956.1391958","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,18]],"date-time":"2025-06-18T14:47:13Z","timestamp":1750258033000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/1391956.1391958"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2008,10]]},"references-count":33,"journal-issue":{"issue":"6","published-print":{"date-parts":[[2008,10]]}},"alternative-id":["10.1145\/1391956.1391958"],"URL":"https:\/\/doi.org\/10.1145\/1391956.1391958","relation":{},"ISSN":["0164-0925","1558-4593"],"issn-type":[{"value":"0164-0925","type":"print"},{"value":"1558-4593","type":"electronic"}],"subject":[],"published":{"date-parts":[[2008,10]]},"assertion":[{"value":"2006-02-01","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2008-01-01","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2008-10-30","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}