DocumentCode :
2400204
Title :
Post-design domain-specific language embedding: a case study in the software engineering domain
Author :
Sloane, Anthony M.
Author_Institution :
Dept. of Comput., Macquarie Univ., Sydney, NSW, Australia
fYear :
2002
fDate :
7-10 Jan. 2002
Firstpage :
3647
Lastpage :
3655
Abstract :
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.
Keywords :
functional languages; functional programming; software engineering; Haskell; Odin software build system; expressive programming language; functional programming techniques; lazy evaluation; lazy functional language; monads; post-design domain-specific language embedding; program structuring; software engineering; Animation; Computer aided software engineering; Computer languages; Cost accounting; Domain specific languages; Embedded computing; Functional programming; Power engineering and energy; Programming profession; Software engineering;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
System Sciences, 2002. HICSS. Proceedings of the 35th Annual Hawaii International Conference on
Print_ISBN :
0-7695-1435-9
Type :
conf
DOI :
10.1109/HICSS.2002.994492
Filename :
994492
Link To Document :
بازگشت