Title of article
On designing safe and flexible embedded DSLs with Java 5
Author/Authors
Jevgeni Kabanov، نويسنده , , Michael Hunger، نويسنده , , Rein Raudj?rv، نويسنده ,
Issue Information
ماهنامه با شماره پیاپی سال 2011
Pages
22
From page
970
To page
991
Abstract
Although embedded DSLs are widely used in both functional and dynamic languages they are yet to be widely accepted in the Java community. The best available examples are projects like jMock and Hibernate Criteria Query. In this paper we introduce the design of three novel practical embedded DSLs that we designed to showcase the power of Java language and specifically the changes introduced in Java 5. One of those DSLs is fully implemented as an open source project and is gathering momentum in the community. We proceed to discuss the approaches that allow designing safe and flexible DSLs by extracting generic patterns where possible and describing more specific idioms where necessary. It is our goal that this paper would serve as a starting point for someone designing an embedded DSL that takes full advantage of the Java 5 features.
Journal title
Science of Computer Programming
Serial Year
2011
Journal title
Science of Computer Programming
Record number
1080217
Link To Document