Contents of the document
The document defines the syntax of CSCs accepted by bcdd: bcdd accepts, rejects and reports
exactly what is written here. The document does not describe how the program is implemented.
Sections 1-7 define what bcdd can read (4.9 entities, 4.10 variants and optional
parts, 4.11 concrete forms, the verification plan, profiles and extensions, 4.12 formulas, 4.13
names and types, 4.14 the use of extensions); section 8 lists the errors; section 9 describes the
report of bcdd check, character by character (9.4 entities and citations, 9.5 compositions, 9.6
concrete forms and the verification plan, 9.7 the entries to be judged and the checks not executed); sections 10, 11 and
12 describe the commands check, new and ratify; section 13 describes the dialogue file; section 14 lists
what bcdd does not check.
The language, with its examples, is presented in The BCDD manual; this document uses its terms (the
glossary is Appendix C of the manual). bcdd reads all the forms of the language described in the manual: the
formulas, the shorthands, the concrete forms, the verification plan, the profiles and the extensions. It checks their form,
names and types; it does not evaluate formulas on the scenarios and does not compare them with one another (sections 9.7 and 14).
The terms. The names of the concepts are those of the manual: guarantee (GUARANTEE), assumption (ASSUME),
request (CAPABILITY), scenario (SCENARIO), list of values (a type TYPE … := { … }), named
constant (DEFINE), undecided number (UNDECIDED), short name (the name of a guarantee, of an assumption or of
a scenario), pending approval (STATUS HYPOTHESIS), approved (STATUS RATIFIED BY), parts list
(COMPOSED OF), copy of a part, choice group (the VARIANT lines with the same name to the left of
=). Contract is the set of the approved guarantees and assumptions on a boundary. The report and the messages of bcdd
use the same terms, with two differences, written as the program prints them: contract also indicates a single
approved line; “connector” indicates a CSC cited by an entity. The command that approves is called ratify.
For the constructs of chapters 21-27 of the manual the same terms apply: formula, condition on the step, trigger, consequence, scope, shorthand,
expanded form, concrete form (BINDING), verification plan (VERIFICATION), recording instrument
(MEANS), resolution, profile, extension, declared extension. The names of the checks (C1…C8), of the
rules on extensions (E1…E7) and on details (D1…D6) are those of the language specification: they appear here
to say what bcdd executes, and in the report they are described in words.
The outputs of bcdd shown in this document are those of the program in English, its default language. With
bcdd --lang it … or with the environment variable BCDD_LANG=it the program writes in Italian; the Italian outputs
are in GRAMMATICA_F1.md. Section 10 describes how the language is chosen.
Declaration. In this document declaration denotes every unit of the file that begins at the start of a
line and continues up to the next declaration (section 3); as a rule it begins with a keyword. Examples are a guarantee, an
assumption, a scenario, a step, the header of a block, an OFFERS line, and so on. The manual uses
the word in a narrower sense, for the lines that declare an element of the CSC only (TYPE,
CAPABILITY, EVENT, STATE, DEFINE, SCENARIO).

