Safe Haskell | None |
---|---|
Language | Haskell98 |
Lexing logic for the Morte language
Lexer
lexExpr :: Text -> Producer Token (State Position) (Maybe Text) Source
Convert a text representation of an expression into a stream of tokens
lexExpr
keeps track of position and returns the remainder of the input if
lexing fails.