Safe Haskell | Safe |
---|---|
Language | Haskell98 |
Language.GroteTrap.Lexer
Contents
Description
Deriving a lexer from a Language
.
Types
The tokenizer produces a list of tokens.
Tokenizing
run :: Monad m => String -> GenParser tok () a -> [tok] -> m a Source #
run sourceName p input
runs the specified parser on the input, returning the result in a monad.