packages feed

hocon-0.1.0.0: src/Text/Parser/HOCON.hs

module Text.Parser.HOCON
  ( parseHOCON
  , ParseError(..)
  )
where

import Data.HOCON (Config(..))
import Text.Parser.HOCON.Internal
import Text.ParserCombinators.Parsec (ParseError, parse)

parseHOCON :: String -> Either ParseError Config
parseHOCON = parse hoconParser "hocon" . preProcessing