Title :
Developing DSLs using combinators. A design pattern
Author :
Barrientos, Pablo Andrés ; López, Pablo E Martínez
Author_Institution :
Fac. de Inf., Univ. Nac. de La Plata, La Plata, Argentina
Abstract :
The development of domain-specific languages (DSLs) is considered by many authors as a hard task. To simplify the design of DSLs we describe a design pattern based on the combinators technique, which can also provide guidelines for previous domain analysis phase because it is based on equational reasoning over the domain knowledge. Combinators is a common technique from functional programming to write programs. It was used many times to implement domain-specific embedded languages (DSELs) but that implementation approach is not the only one. In this paper we present the pattern together with the underlying and basic ideas behind it. We also show benefits of using it and illustrate the use of this pattern with some examples.
Keywords :
programming languages; specification languages; combinators technique; design pattern; domain analysis phase; domain knowledge; domain-specific embedded languages; domain-specific languages; equational reasoning; functional programming; Computer science; DSL; Documentation; Domain specific languages; Equations; Functional programming; Guidelines; Information technology; Pattern analysis; Programming profession; DSLs; combinators; design patterns;
Conference_Titel :
Computer Science and Information Technology, 2009. IMCSIT '09. International Multiconference on
Conference_Location :
Mragowo
Print_ISBN :
978-1-4244-5314-6
DOI :
10.1109/IMCSIT.2009.5352773