English

Sharing and Learning Alloy on the Web

Computers and Society 2019-07-09 v1 Software Engineering

Abstract

We present Alloy4Fun, a web application that enables online editing and sharing of Alloy models and instances, to be used mainly in an educational context. By introducing the notion of secret paragraphs and commands in the models, it also allows the distribution and automatic evaluation of simple specification challenges, a useful mechanism that enables students to learn relational logic at their own pace. Alloy4Fun stores all versions of shared and analyzed models, as well as derivation trees that depict how those models evolved over time: this wealth of information can be mined by researchers or tutors to identify, for example, learning breakdowns in the class or typical mistakes made by students and other Alloy users. A beta version of Alloy4Fun was already used in two formal methods courses, and we present some results of this preliminary evaluation.

Keywords

Cite

@article{arxiv.1907.02275,
  title  = {Sharing and Learning Alloy on the Web},
  author = {Nuno Macedo and Alcino Cunha and José Pereira and Renato Carvalho and Ricardo Silva and Ana C. R. Paiva and Miguel S. Ramalho and Daniel Silva},
  journal= {arXiv preprint arXiv:1907.02275},
  year   = {2019}
}
R2 v1 2026-06-23T10:12:02.186Z