| Safe Haskell | None |
|---|
Morte.Parser
Description
Parsing logic for the Morte language
- exprFromText :: Text -> Either ParseError Expr
- prettyParseError :: ParseError -> Text
- data ParseError = ParseError {}
- data ParseMessage
Parser
exprFromText :: Text -> Either ParseError ExprSource
Parse an Expr from Text or return a ParseError if parsing fails
Errors
prettyParseError :: ParseError -> TextSource
Pretty-print a ParseError
data ParseError Source
Structured type for parsing errors
Constructors
| ParseError | |
Fields | |
Instances
| Show ParseError |