Up Next
Go up to A CASL Mark-Up: Quick Reference
Go forward to A.2 Structured Specifications and Views

A.1 CASL Environments

Use in any mode:3

\begin{casl} ... \end{casl}

Use only in paragraph mode:4

\begin{BasicSpec} \item[...] ... \\ ... \item[...] ... \end{BasicSpec}
...
...
...
...
...
\begin{SpecDefn}{...} = ... \End \end{SpecDefn}
spec
... = ... end
\begin{SpecDefn}{...} [...] = ... \End \end{SpecDefn}
spec
... [...] = ... end
\begin{SpecDefn}{...} [...] \Given ... = ... \End \end{SpecDefn}
spec
... [...] given... = ... end
\begin{SpecDefn}[\View]{...} : ... \To ... = ... \End \end{SpecDefn}
view
... : ... to... = ... end
\begin{SpecDefn}[\Arch~\Spec]{...} ... = ... \End \end{SpecDefn}
arch spec
... ... = ... end
\begin{SpecDefn}[\Unit~\Spec]{...} ... = ... \End \end{SpecDefn}
unit spec
... ... = ... end

The remaining commands and environments are for use only within the above environments.

  • A.1.1 Groups of Lines
  • A.1.2 Basic Items

  • CoFI Note: C-2 -- Version: 0.3 (for CASL v1.0) -- 30 November 1998.
    Comments to mosses@csl.sri.com

    Up Next