Logo BCDDLogo CSC
BCDDBehavioural Contract-Driven Design
version 1.0-beta
ITEN

How to read this manual

BCDD is a language for specifying the behaviour of a system through its interfaces with the outside, called boundaries (chapter 1). A BCDD description consists of text files containing CSCs (chapter 1) and entities (chapter 12).

bcdd is the command-line program that checks CSC files; its use is described in chapter 2, and its four commands are summarised in chapter 29.

The text is built around a practical example, the staircase light of a block of flats, considered as a system: pressing a button switches the light on and, after a certain time, the light switches itself off. Chapter 28 applies the same forms to a real system, an audio measurement kit; chapter 29 rewrites the staircase light from beginning to end.

Terms used with a particular meaning are explained in the text at their first occurrence and collected in the glossary (appendix C). Appendix A lists the keywords with the chapter in which each one is described; appendix B lists the errors reported by bcdd and what the program does not check.

The manual describes bcdd at version 1.0-beta, which recognises all the forms of the language described in the manual. bcdd checks the form, names and types of formulas, but does not evaluate them on scenarios: the report lists the checks not executed (chapter 24). The manual also describes recording verification (chapter 24), which no program described here performs.

The outputs of bcdd shown in this manual are those of the program in English, its default language, on the files shown. With bcdd --lang it … (the option precedes the command) or with the environment variable BCDD_LANG=it the program writes its messages in Italian.

The manual illustrates the rules of the language specification without adding rules of its own: where the two texts disagree, the specification prevails.