Hets - the Heterogeneous Tool Set

Copyright(c) Karl Luc, DFKI Bremen 2010, Eugen Kuksa and Uni Bremen 2011
LicenseGPLv2 or higher, see LICENSE.txt
Maintainereugenk@informatik.uni-bremen.de
Stabilityprovisional
Portabilityportable
Safe HaskellNone

CommonLogic.Parse_CLIF

Description

Parser of common logic interchange format

Synopsis

Documentation

cltext :: PrefixMap -> CharParser st TEXT_META

parser for getText

pModule :: CharParser st (MODULE, [PrefixMapping])

parser for module

pModExcl :: CharParser st ([NAME], (TEXT, [PrefixMapping]))

parser for

sentence :: CharParser st SENTENCE

parser for sentences

symbItems :: GenParser Char st SYMB_ITEMS

Parse a list of comma separated symbols.

symbs :: GenParser Char st ([NAME_OR_SEQMARK], [Token])

parse a comma separated list of symbols

symbMapItems :: GenParser Char st SYMB_MAP_ITEMS

parse a list of symbol mappings

symbMaps :: GenParser Char st ([SYMB_OR_MAP], [Token])

parse a comma separated list of symbol mappings

symbMap :: GenParser Char st SYMB_OR_MAP

parsing one symbol or a mapping of one to a second symbol

basicSpec :: PrefixMap -> AParser st BASIC_SPEC

Toplevel parser for basic specs

parseAxItems :: PrefixMap -> AParser st BASIC_SPEC

parser for Axiom_items

parseAx :: PrefixMap -> AParser st BASIC_ITEMS

Toplevel parser for formulae

aFormula :: PrefixMap -> AParser st (Annoted TEXT_META)

Toplevel parser for formulae