BPjs -使用脚本语言和BP对反应式系统进行建模的框架
BPjs --- a framework for modeling reactive systems using a scripting language and BP
摘要:
我们描述了一个新的通用框架模型驱动的工程,基于行为编程的一些进展。我们开发的工具统一了到目前为止在行为编程中所做的几乎所有工作,在一组通用的接口下。它的架构支持可插入的事件选择策略,这可以使模型更加直观和紧凑。程序状态空间可以使用各种算法来遍历,例如DFS和A*。此外,程序状态以使得能够使用并行和分布式算法扫描状态空间的方式表示。使用此工具创建的可执行模型可以直接嵌入到Java应用程序中,从而实现模型优先的系统工程方法,最初创建并验证模型,然后逐渐围绕模型构建工作应用程序。模型本身由一组用JavaScript编写的小脚本组成(因此称为“BPjs”)。使用各种案例研究,本文展示了一个宽松的程序设计语言与正式的模型分析工具相结合,创造了一种有效的方式来开发强大的复杂系统。此外,正如我们从我们运行的实验课程中所了解到的,JavaScript的使用使从业者更容易使用这个系统,从而更容易使用模型检验和模型驱动工程。除了为行为编程中的开发和案例研究提供基础设施外,该工具还被设计为行为编程和模型驱动工程中的研究和创新的通用平台。
英文摘要:
We describe some progress towards a new common framework for model driven engineering, based on behavioral programming. The tool we have developed unifies almost all of the work done in behavioral programming so far, under a common set of interfaces. Its architecture supports pluggable event selection strategies, which can make models more intuitive and compact. Program state space can be traversed using various algorithms, such as DFS and A*. Furthermore, program state is represented in a way that enables scanning a state space using parallel and distributed algorithms. Executable models created with this tool can be directly embedded in Java applications, enabling a model-first approach to system engineering, where initially a model is created and verified, and then a working application is gradually built around the model. The model itself consists of a collection of small scripts written in JavaScript (hence "BPjs"). Using a variety of case-studies, this paper shows how the combination of a lenient programming language with formal model analysis tools creates an efficient way of developing robust complex systems. Additionally, as we learned from an experimental course we ran, the usage of JavaScript make practitioners more amenable to using this system and, thus, model checking and model driven engineering. In addition to providing infrastructure for development and case-studies in behavioral programming, the tool is designed to serve as a common platform for research and innovation in behavioral programming and in model driven engineering in general.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。