Copyright | (c) T.Mossakowski C.Maeder and Uni Bremen 2006 |
---|---|
License | GPLv2 or higher, see LICENSE.txt |
Maintainer | Christian.Maeder@dfki.de |
Stability | provisional |
Portability | portable |
Safe Haskell | Safe |
Parsing lists of lists with SUMO (suggested upper merged ontology) .kif files
Synopsis
- data StringKind
- data ListOfList
- = Literal StringKind String
- | List [RangedLL]
- data RangedLL = RangedLL SourcePos ListOfList SourcePos
- dq :: Char
- scanString :: CharParser st String
- isKTokenChar :: Char -> Bool
- scanLiteral :: CharParser st ListOfList
- eolOrEof :: GenParser Char st ()
- commentOut :: CharParser st ()
- skip :: CharParser st [()]
- lexem :: CharParser st a -> CharParser st a
- rangedLL :: CharParser st RangedLL
- nestedList :: CharParser st ListOfList
- kifProg :: CharParser st [RangedLL]
- kifBasic :: CharParser st [RangedLL]
- ppRangedLL :: RangedLL -> Doc
- ppListOfList :: ListOfList -> Doc
- kifParse :: String -> IO ()
Documentation
data StringKind Source #
Instances
Eq StringKind Source # | |
Defined in CASL.Kif (==) :: StringKind -> StringKind -> Bool (/=) :: StringKind -> StringKind -> Bool | |
Show StringKind Source # | |
Defined in CASL.Kif showsPrec :: Int -> StringKind -> ShowS show :: StringKind -> String showList :: [StringKind] -> ShowS |
data ListOfList Source #
Literal StringKind String | |
List [RangedLL] |
Instances
Show ListOfList Source # | |
Defined in CASL.Kif showsPrec :: Int -> ListOfList -> ShowS show :: ListOfList -> String showList :: [ListOfList] -> ShowS |
RangedLL SourcePos ListOfList SourcePos |
scanString :: CharParser st String Source #
isKTokenChar :: Char -> Bool Source #
scanLiteral :: CharParser st ListOfList Source #
commentOut :: CharParser st () Source #
nestedList :: CharParser st ListOfList Source #
ppRangedLL :: RangedLL -> Doc Source #
ppListOfList :: ListOfList -> Doc Source #