用于构建软件模型的结构编辑器
Structure Editor for Building Software Models
AI总结:
针对 Alloy 新手近三分之一模型编译失败的问题,本文提出基于块输入的 Alloy 结构编辑器概念验证,以从设计上消除编译错误。
摘要:
Alloy 是一种广为人知的声明式建模语言。Alloy 的一项关键优势是其场景查找工具集 Analyzer,它允许用户在用户提供的范围(scope)内探索遵循模型约束的所有有效场景。尽管有 Analyzer,Alloy 对新手用户来说仍然难以学习和使用。最近一项针对超过 93,000 个新用户模型的实证研究表明,用户从一开始就遇到困难:新手编写的模型中近三分之一无法编译。我们认为,问题在于 Alloy 的语法和类型信息是以被动方式传递给用户的,尽管这些信息勾勒出了如何组合有效公式的狭窄路径。在本文中,我们概述了一个面向 Alloy 的结构编辑器概念验证:用户通过基于块的输入而非自由键入来构建模型,该设计可从根本上防止编译错误。
英文摘要:
Alloy is well known a declarative modeling language. A key strength of Alloy is its scenario finding toolset, the Analyzer, which allows users to explore all valid scenarios that adhere to the model's constraints up to a user-provided scope. Despite the Analyzer, Alloy is still difficult for novice users to learn and use. A recent empirical study of over 93,000 new user models reveals that users have trouble from the very start: nearly a third of the models novices write fail to compile. We believe that the issue is that Alloy's grammar and type information is passively relayed to the user despite this information outlining a narrow path for how to compose valid formulas. In this paper, we outline a proof-of-concept for a structure editor for Alloy in which user's build their models using block based inputs, rather than free typing, which by design prevents compilation errors.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。