Download presentation
Presentation is loading. Please wait.
1
CSE 503 – Software Engineering
Lecture 4: Practicing spec writing in Alloy Rob DeLine 7 Apr 2004
2
Today’s agenda In groups of 3, spend 30 minutes on the following:
Model the copy, cut, and paste operations of a simple editor. You should define the relevant editor state as sigs and define functions Copy, Cut, and Paste to describe how these operations change your editor state. Be as abstract as possible while retaining the essence of the operations. If it helps, think about a drawing editor rather than a text editor. Afterwards, we’ll look at two teams’ specs, discuss them, and give feedback. Finally, we’ll look at the instructors spec and discuss interesting properties to prove about the operations.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.