Parse_CspCASL.hs revision 9aeda2b3ae8ce0b018955521e4ca835a8ba8a27b
faf8ae9e57aecf780f77f114de886af4c1a0f0ccChristian MaederDescription : Parser for CspCASL specifications
faf8ae9e57aecf780f77f114de886af4c1a0f0ccChristian MaederCopyright : (c) Uni Bremen 2007
faf8ae9e57aecf780f77f114de886af4c1a0f0ccChristian MaederLicense : GPLv2 or higher, see LICENSE.txt
9db48b4604636bfdf03e60890fc094b7bec775dcChristian MaederMaintainer : a.m.gimblett@swan.ac.uk
9db48b4604636bfdf03e60890fc094b7bec775dcChristian MaederStability : experimental
9db48b4604636bfdf03e60890fc094b7bec775dcChristian MaederPortability : portable
module CspCASL.Parse_CspCASL (
import Text.ParserCombinators.Parsec (choice, many1, try, (<|>),
import Common.AS_Annotation(Annoted (..), emptyAnno)
import Common.AnnoState (AParser, asKey, colonT, equalT, anSemi, allAnnoParser)
import Common.Id
import Common.Lexer (commaSep1, cParenT, oParenT)
import CspCASL.AS_CspCASL
import CspCASL.AS_CspCASL_Process
import CspCASL.CspCASL_Keywords
-- Turn an unnamed singleton process into a declaration/equation. THIS WHOLE