arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1901.02188cs.SE
收藏

StaBL -基于状态的Web应用程序规范语言

StaBL - State Based Language for Specification of Web Applications

Karthika Venkatesan, Sujit Kumar Chakrabarti

摘要:

背景和动机:正式规约语言的使用是稀缺的Web应用程序开发相比,安全关键/硬件系统。问题/Problem:一个恰当的形式化规约语言应该具备以下特征:首先,它应该具有定义良好的语义,这样用它编写的规约就不会有内在的二义性。其次,它应该有工具支持自动检测规范错误。此外,对于像Web开发这样的领域,规范形式主义建立在熟悉的符号上是很重要的,因为在这些领域中学习高度数学化的符号的好处被认为是很低的。主要想法/结果:这项工作提出了一个基于状态的语言的启发Statecharts称为StaBL的Web应用程序的规范,以及如何StaBL可以用于编写这样的规范。我们还提出了修改的语言w.r.t Statechart,便于编写模块化和可扩展的规范。贡献:特别是,我们提出了本地作用域变量与状态间数据流的功能。我们总结了我们的经验,开发规范与StaBL,这表明,StaBL规范,一方面,能够捕捉最基本的元素的功能方面的Web应用程序,而前述的冗长的常规程序设计语言。

英文摘要:

Context and motivation: Usage of Formal Specification languages is scarce in web application development as compared to safety critical/hardware systems. Question/problem: An apt formal specification language should provide the following features: Firstly, it should have well-defined semantics, so that specifications written in it can not be inherently ambiguous. Secondly, it should have tool support for automatic detection of specification bugs. Additionally, for domains like web development, it is important that specification formalisms build over familiar notations, as the benefits of learning highly mathematical notations in such domains are perceived to be low. Principal ideas/results: This work presents a State Based Language inspired by Statecharts called StaBL for specification of web applications, and how StaBL can be used for writing such specifications. We also present modifications to the language w.r.t Statechart which facilitate writing modular and scalable specification. Contribution: In particular, we present the feature of locally scoped variables with inter-state data-flow. We summarise our experience of developing specifications with StaBL, which shows that StaBL specifications, on the one hand, are able to capture most essential elements of the functional aspects of a web application while foregoing much of the verbosity of a regular programming language.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑