abacate-0.0.0.0: Parser for a language similar to Cucumber's Gherkin

Portabilityportable
Stabilityunstable
MaintainerMarco Túlio Pimenta Gontijo <marcotmarcot@gmail.com>
Safe HaskellSafe-Infered

Language.Abacate

Description

Gherkin is the language used by the Cucumber system for Behaviour Driven Development. This package contains a parser to it, based on its BNF with minor changes. For more information on Cucumber, check http://cukes.info.

According to https://github.com/cucumber/gherkin/wiki/BNF/cf8696092b0e6841ba0c3cf4e2f0d3c964b9c144.

Synopsis

Documentation

parseFile :: FilePath -> IO (Either ParseError Abacate)Source

Parses a file with Abacate code.

parseAbacate :: Text -> Either ParseError AbacateSource

Parses a string with Abacate code.