Many companies and institutions have automated their business process in workflow management software. The novel programming paradigm Task-Oriented Programming (TOP) provides an abstraction for such software. The largest framework based on TOP, iTasks, has been used to develop real-world software. Workflow software often includes critical systems. In such cases it is important to reason over the software to ascertain its correctness. The lack of a formal iTasks semantics makes it unsuitable for formal reasoning. To this end TopHat has been developed as a TOP language with a formal semantics. However, TopHat lacks a graphical user interface (GUI), making it harder to develop practical TopHat systems. In this paper we present TopHat UI. By combining an existing server framework and user interface framework, we have developed a fully functioning proof of concept implementation in Haskell, on top of TopHat's semantics. We show that implementing a TOP framework is possible using a different host language than iTasks uses. None of TopHat's formal properties have been compromised, since the UI framework is completely separate from TopHat. We run several example programs and evaluate their generated GUI. Having such a system improves the quality and verifiability of TOP software in general.
翻译:许多公司和机构已在工作流程管理软件中实现业务流程自动化。 新的编程模式任务方向编程( TOP) 为这种软件提供了一个抽象的缩略图。 基于 TOP 的最大框架( iTasks) 已经用于开发真实世界软件。 工作流软件通常包括关键系统。 在这种情况下, 有必要对软件进行解释, 以确定其正确性。 缺乏正式的 iTask 语义使得它不适于正式推理。 为此, TopHat 已被开发为带有正式语义的TOP 语言。 但是, TopHat 缺少一个图形用户界面( GUI), 使得它更难开发实用的 TopHat 系统。 在本文中, 我们介绍了 TopHat 界面 界面 。 通过将现有的服务器框架和用户界面框架结合起来, 我们开发了一个在Haskell 上Hasell 概念实施的全面操作证明。 我们显示, 实施TOP 框架有可能使用不同于 iTasks 所使用的主机语言 语言 。 没有一个正式的属性已被损坏, 因为UP 框架与一般的GUI 系统是完全分开的。