Come, Let's Play: Scenario-Based Programming Using LSCs and the Play-Engine by David HarelCome, Let's Play: Scenario-Based Programming Using LSCs and the Play-Engine by David Harel

Come, Let's Play: Scenario-Based Programming Using LSCs and the Play-Engine

byDavid Harel

Paperback | November 5, 2012

Pricing and Purchase Info

$92.97 online 
$110.50 list price save 15%
Earn 465 plum® points

Prices and offers may vary in store


In stock online

Ships free on orders over $25

Not available in stores


This book does not tell a story. Instead, it is about stories. Or rather, in technical terms, it is about scenarios. Scenarios of system behavior. It con­ centrates on reactive systems, be they software or hardware, or combined computer-embedded systems, including distributed and real-time systems. We propose a different way to program such systems, centered on inter­ object scenario-based behavior. The book describes a language, two tech­ niques, and a supporting tool. The language is a rather broad extension of live sequence charts (LSCs), the original version of which was proposed in 1998 by W. Damm and the first-listed author of this book. The first of the two techniques, called play-in, is a convenient way to 'play in' scenario­ based behavior directly from the system's graphical user interface (QUI). The second technique, play-out, makes it possible to execute, or 'play out', the behavior on the QUI as if it were programmed in a conventional intra­ object state-based fashion. All this is implemented in full in our tool, the Play-Engine. The book can be viewed as offering improvements in some ofthe phases of known system development life cycles, e.g., requirements capture and anal­ ysis, prototyping, and testing. However, there is a more radical way to view the book, namely, as proposing an alternative way to program reactivity, which, being based on inter-object scenarios, is a lot closer to how people think about systems and their behavior.
David Harel is the Dean of the Faculty of Mathematics and Computer Science at the Weizmann Institute of Science in Israel. He is also co-founder of I-Logix, Inc., Andover, MA, and of SenseIT Technologies, Ltd. (DigiScents Israel). His research interests are in theoretical computer science (especially computability, automata theory and ...
Title:Come, Let's Play: Scenario-Based Programming Using LSCs and the Play-EngineFormat:PaperbackDimensions:382 pagesPublished:November 5, 2012Publisher:Springer-Verlag/Sci-Tech/TradeLanguage:English

The following ISBNs are associated with this title:

ISBN - 10:3642624162

ISBN - 13:9783642624162


Table of Contents

I. Prelude.- 1. Introduction.- 2. Setting the Stage.- 3. An Example-Driven Overview.- 4. The Model: Object Systems.- II. Foundations.- 5. The Language: Live Sequence Charts (LSCs).- 6. The Tool: The Play-Engine.- III. Basic Behavior.- 7. Variables and Symbolic Messages.- 8. Assignments and Implemented Functions.- 9. Conditions.- 10. Branching and Subcharts.- IV. Advanced Behavior: Multiple Charts.- 11. Executing Multiple Charts.- 12. Testing with Existential Charts.- V. Advanced Behavior: Richer Constructs.- Loops.- Transition to Design.- Classes and Symbolic Instances.- Time and Real-Time Systems.- Forbidden Elements.- VI Enhancing the Play-Engine.- Smart Play-Out (with H. Kugler).- Inside and Outside the Play-Engine.- A Play-Engine Aware GUI Editor.- Future Research Directions.- VII Appendices.- A. Formal Semantics of LSCs.- A.1 System Model and Events.- A.2 LSC Specification.- A.3 Operational Semantics.- B. XML Description of a GUI Application.- C. The Play-Engine Interface.- C.1 Visual Basic Code.- D. The GUI Application Interface.- D.1 Visual Basic Code.- E. The Structure of a (Recorded) Run.- References.

Editorial Reviews

The design of reactive systems is one of the most challenging problems in computer science. This books starts with a critical insight to explain the difficulty of this problem: there is a fundamental gap between the scenario-based way in which people think about such systems and the state-based way in which these systems are implemented. The book then offers a radical proposal to bridge this gap by means of playing scenarios. Systems can be specified by playing in scenarios and implemented by means of a Play-Engine that plays out scenarios. This idea is carried out and developed, lucidly, formally and playfully, to its fullest. The result is a compelling proposal, accompanied by a prototype software engine, for reactive systems design, which is bound to cause a splash in the software-engineering community. Moshe Y. Vardi, Rice University, Houston, Texas, USAScenarios are a primary exchange tool in explaining system behavior to others, but their limited expressive power never made them able to fully describe systems, thus limiting their use. The language of Live Sequence Charts (LSCs) presented in this beautifully written book achieves this goal, and the attached Play-Engine software makes these LSCs really come alive. This is undoubtedly a key breakthrough that will start long-awaited and exciting new directions in systems specification, synthesis, and analysis. Gérard Berry, Esterel Technologies and INRIA, Sophia-Antipolis, FranceThe approach of David Harel and Rami Marelly is a fascinating way of combining prototyping techniques with techniques for identifying behavior and user interfaces. Manfred Broy, Technical University of Munich, Germany