...
首页> 外文期刊>Science of Computer Programming >On designing safe and flexible embedded DSLs with Java
【24h】

On designing safe and flexible embedded DSLs with Java

机译:使用Java设计安全灵活的嵌入式DSL

获取原文
获取原文并翻译 | 示例
   

获取外文期刊封面封底 >>

       

摘要

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.
机译:尽管嵌入式DSL在功能和动态语言中都得到了广泛使用,但它们尚未在Java社区中被广泛接受。最好的示例是jMock和Hibernate Criteria Query之类的项目。在本文中,我们介绍了三种新颖的实用嵌入式DSL的设计,旨在展示Java语言的功能,特别是Java 5中引入的更改。其中一种DSL已完全实现为一个开放源代码项目,并且正在不断发展。社区。我们将继续讨论通过在可能的情况下提取通用模式并在必要时描述更具体的用法来设计安全灵活的DSL的方法。我们的目标是,本文将成为设计使用Java 5功能的嵌入式DSL的起点。

著录项

  • 来源
    《Science of Computer Programming》 |2011年第11期|p.970-991|共22页
  • 作者单位

    Department of Computer Science, University of Tartu, Liivi 2, Tartu, Estonia;

    Dresden, Germany;

    Department of Computer Science, University of Tartu, Liivi 2, Tartu, Estonia;

  • 收录信息 美国《科学引文索引》(SCI);美国《工程索引》(EI);
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号