Safe Haskell | None |
---|---|
Language | Haskell98 |
Dhall.Parser
Description
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
Constructors
Src Delta Delta ByteString |
A Parser
that is almost identical to
Text.Trifecta.
except treating Haskell-style
comments as whitespaceParser