copilot-c99-3.2.1: A compiler for Copilot targeting C99.
Safe HaskellSafe
LanguageHaskell2010

Copilot.Compile.C99.External

Description

Represent information about externs needed in the generation of C99 code for stream declarations and triggers.

Synopsis

Documentation

data External Source #

Representation of external variables.

Constructors

forall a. External 

Fields

extunion :: [External] -> [External] -> [External] Source #

Union over lists of External, we solely base the equality on the extname's.

gatherexts :: [Stream] -> [Trigger] -> [External] Source #

Collect all external variables from the streams and triggers.

Although Copilot specifications can contain also properties and theorems, the C99 backend currently only generates code for streams and triggers.