Safe Haskell | None |
---|---|
Language | Haskell98 |
This module contains Dhall's parsing logic
- exprFromText :: Delta -> Text -> Either ParseError (Expr Src Path)
- expr :: Parser (Expr Src Path)
- data Src = Src Delta Delta ByteString
- newtype ParseError = ParseError Doc
- newtype Parser a = Parser {}
Utilities
exprFromText :: Delta -> Text -> Either ParseError (Expr Src Path) Source #
Parse an expression from Text
containing a Dhall program
Parsers
Types
Source code extract
newtype ParseError Source #
A parsing error
A Parser
that is almost identical to
Text.Trifecta.
except treating Haskell-style
comments as whitespaceParser