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-Inferred |
Parsing lists of lists with SUMO (suggested upper merged ontology) .kif files
- 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
scanString :: CharParser st String
isKTokenChar :: Char -> Bool
scanLiteral :: CharParser st ListOfList
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