Download Hets User Guide - FB3

Transcript
Figure 1: The HETS motherboard and some expansion cards
SPEC ::=
|
|
|
|
BASIC-SPEC
SPEC then SPEC
SPEC then %implies SPEC
SPEC with SYMBOL-MAP
SPEC with logic ID
DEFINITION ::=
|
|
|
logic ID
spec ID = SPEC end
view ID : SPEC to SPEC = SYMBOL-MAP end
view ID : SPEC to SPEC = with logic ID end
LIBRARY = DEFINITION*
Figure 2: Syntax of a simple subset of the heterogeneous specification language.
BASIC-SPEC and SYMBOL-MAP have a logic specific syntax, while ID stands for
some form of identifiers.
cation libraries are collections of named structured and architectural specifications.
HETS consists of logic-specific tools for the parsing and static analysis of
the different involved logics, as well as a logic-independent parsing and static
analysis tool for structured and architectural specifications and libraries. The
latter of course needs to call the logic-specific tools whenever a basic specification
is encountered.
HETS is based on the theory of institutions [19], which formalize the notion
of a logic. The theory behind HETS is laid out in [30]. A short overview of HETS
is given in [35, 36].
2