Deriving a lexer from a Language
.
Types
The tokenizer produces a list of tokens.
Tokenizing
run :: Monad m => String -> GenParser tok () a -> [tok] -> m aSource
run sourceName p input
runs the specified parser on the input, returning the result in a monad.