首页> 外文期刊>Advances in Science, Technology and Engineering Systems >Pluggable Controllers and Nano-Patterns in Java with Lola
【24h】

Pluggable Controllers and Nano-Patterns in Java with Lola

机译:带有Lola的Java中的可插拔控制器和纳米模式

获取原文
           

摘要

Pluggable controllers are a different way to design control constructors such as if, while, do, switch, and operators such as short circuit con-junction (&&) and the “?.” operator of the Swift programming language. Adoption of pluggable controllers enables the final user to modify and extend the control flow constructs (if, while, etc.) of an underlying programming language, the same way they can do if they implement functions such as printf and class String in a standard library. In modular, pluggable controller based language design, beside core control constructors, there are others, defined in standard libraries, with the purpose of augmenting and enriching the language. These pluggable controllers are extensible and replaceable. Being less intertwined in the main language, control constructor libraries can evolve independently from it, and their releases do not mandate new language releases. We illustrate the implementation of pluggable controllers using Lola, a powerful language-independent preprocessor and macro language. We demonstrate the introduction of new pluggable controllers with two case studies. The implementation of a Java stenography based on prevalent Java idioms, called “nano-patterns” or nanos, and the introduction in Java of new code constructs inspired by the Mathematica language’s commands.
机译:可插拔控制器是设计控件构造函数(例如是否同时进行开关)和运算符(例如短路接点(&&)和“?”)的另一种方法。 Swift编程语言的运算符。采用可插拔控制器使最终用户可以修改和扩展基础编程语言的控制流构造(如果有,等),就像在标准库中实现诸如printf和String类之类的功能一样。在基于模块,可插拔控制器的语言设计中,除了核心控制构造函数之外,还有其他一些在标准库中定义,目的是增强和丰富语言。这些可插拔控制器是可扩展和可更换的。控件构造函数库与主要语言的联系较少,因此可以独立于主要构造函数进行演化,并且其发布不要求使用新的语言发布。我们说明了使用Lola(一种功能强大的语言独立预处理器和宏语言)的可插拔控制器的实现。我们通过两个案例演示了新的可插拔控制器的介绍。基于流行的Java习惯用法(称为“纳米模式”或nanos)的Java速记技术的实现,以及在Java中引入了受Mathematica语言命令启发的新代码结构。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号