Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- parserByteString :: ByteString -> Either (ParsingError ByteString) [Instruction]
- parserByteStringLazy :: ByteString -> Either (ParsingError ByteString) [Instruction]
- parserString :: String -> Either (ParsingError String) [Instruction]
- parserText :: Text -> Either (ParsingError Text) [Instruction]
- grammar :: forall tok repr. CoerceEnum Char tok => CoerceEnum tok Char => Grammarable tok repr => repr [Instruction]
Documentation
parserByteString :: ByteString -> Either (ParsingError ByteString) [Instruction] Source #
parserByteStringLazy :: ByteString -> Either (ParsingError ByteString) [Instruction] Source #
parserString :: String -> Either (ParsingError String) [Instruction] Source #
parserText :: Text -> Either (ParsingError Text) [Instruction] Source #
grammar :: forall tok repr. CoerceEnum Char tok => CoerceEnum tok Char => Grammarable tok repr => repr [Instruction] Source #
Use with $$(runParser
Text grammar)@,
but in another Haskell module to avoid
GHC stage restriction on such top-level splice.