| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Dhall.Parser
Description
This module contains Dhall's parsing logic
Utilities
exprFromText :: Delta -> Text -> Either ParseError (Expr Src Path) Source #
Parse an expression from Text containing a Dhall program
Parsers
exprA :: Show a => Parser a -> Parser (Expr Src a) Source #
Parser for a top-level Dhall expression. The expression is parameterized over any parseable type, allowing the language to be extended as needed.
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