Bibliographic Details
| Title: |
On designing safe and flexible embedded DSLs with Java 5 |
| Authors: |
Kabanov, Jevgeni1 ekabanov@gmail.com, Hunger, Michael2 michael.hunger@jexp.de, Raudjärv, Rein1 reinra@gmail.com |
| Source: |
Science of Computer Programming. Nov2011, Vol. 76 Issue 11, p970-991. 22p. |
| Subjects: |
Java programming language, Embedded computer system design & construction, Digital subscriber lines, Programming languages, Generic programming (Computer science), Computer security |
| Abstract: |
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. [Copyright &y& Elsevier] |
|
Copyright of Science of Computer Programming is the property of Elsevier B.V. and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract. (Copyright applies to all Abstracts.) |
| Database: |
Engineering Source |