symantic-parser-0.2.1.20210803: Parser combinators statically optimized and staged via typed meta-programming
Safe HaskellNone
LanguageHaskell2010

Parsers.Brainfuck.SymanticParser

Synopsis

Documentation

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.