VDM-SL 的规格切片
Specification Slicing for VDM-SL
AI总结:
本文针对 VDM-SL 可执行规格难以阅读和调试的问题,借鉴程序切片技术提出规格切片方法,并在 ViennaTalk 上实现,可应用于浏览器和调试器。
摘要:
可执行规格是轻量级形式化软件开发中的有力工具之一。VDM-SL 允许通过命令式语句对引用和更新内部状态的操作进行显式且可执行的定义。虽然 VDM-SL 广泛的可执行子集使得在规格阶段进行验证和测试成为可能,但它也带来了与命令式编程中类似的阅读和调试困难。在本文中,我们基于程序切片(一种用于在实现语言中调试和维护程序源代码的技术)为 VDM-SL 定义了规格切片。随后我们展示并讨论了其应用。VDM-SL 的切片器在 ViennaTalk 上实现,并可用于描述 VDM-SL 规格的浏览器和调试器。
英文摘要:
The executable specification is one of the powerful tools in lightweight formal software development. VDM-SL allows the explicit and executable definition of operations that reference and update internal state through imperative statements. While the extensive executable subset of VDM-SL enables validation and testing in the specification phase, it also brings difficulties in reading and debugging as in imperative programming. In this paper, we define specification slicing for VDM-SL based on program slicing, a technique used for debugging and maintaining program source code in implementation languages. We then present and discuss its applications. The slicer for VDM-SL is implemented on ViennaTalk and can be used on browsers and debuggers describing the VDM-SL specification.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。