计算机科学 > 程序设计语言
[提交于 2021年7月12日]
标题:Teaching Design by Contract using Snap!
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:With the progress in deductive program verification research, new tools and techniques have become available to support design-by-contract reasoning about non-trivial programs written in widely-used programming languages. However, deductive program verification remains an activity for experts, with ample experience in programming, specification and verification. We would like to change this situation, by developing program verification techniques that are available to a larger audience. In this paper, we present how we developed prototypal program verification support for Snap!. Snap! is a visual programming language, aiming in particular at high school students. We added specification language constructs in a similar visual style, designed to make the intended semantics clear from the look and feel of the specification constructs. We provide support both for static and dynamic verification of Snap! programs. Special attention is given to the error messaging, to make this as intuitive as possible.
提交历史
来自:Raúl E. Monti[v1] 2021年7月12日 星期一 18:32:15 UTC