This Article 
   
 Share 
   
 Bibliographic References 
   
 Add to: 
 
Digg
Furl
Spurl
Blink
Simpy
Google
Del.icio.us
Y!MyWeb
 
 Search 
   
35th Annual Hawaii International Conference on System Sciences (HICSS'02)-Volume 9
Big Island, Hawaii
January 07-January 10
ISBN: 0-7695-1435-9
Experiences are presented from a new case study of embedding domain-specific languages in the lazy functional language Haskell. The domain languages come from the Odin software build system. Thus, in contrast to most previous embedding projects, a design and implementation of the domain languages existed when the project began. Consequently, the design could not be varied to suit the target language and it was possible to evaluate the success or otherwise of the embedding process in more detail than if the languages were designed from scratch. Experiences were mostly positive. The embedded implementation is significantly smaller than its Odin equivalent. Many benefits are obtained from having the full power of an expressive programming language available to the domain programmer. The project also demonstrates in a practical software engineering setting the utility of modern functional programming techniques such as lazy evaluation and monads for structuring programs. On the down side, the efficiency of the embedded version compares unfavourably to the original system.
Index Terms:
domain-specific embedded languages, functional languages, software build systems, evaluation
Citation:
A. Sloane, "Post-design Domain-Specific Language Embedding: A Case Study in the Software Engineering Domain," hicss, vol. 9, pp.281, 35th Annual Hawaii International Conference on System Sciences (HICSS'02)-Volume 9, 2002
Usage of this product signifies your acceptance of the Terms of Use.