API Reference ergo v0.3.5


Ergo contains the helper function parse/2 otherwise see Ergo.Terminals, Ergo.Combinators and Ergo.Parsers for the individual parsers.

Ergo.Combinators is the key set of parsers used for combining together other parsers.

Ergo.Context defines the Context record type and functions to create and manipulate them.

The Meta parsers are not really parsers at all but operate within the parsing framework.

The Parsers module exists to house utility parsers that while they are terminals in the sense that they are not parameterised, they internally make use of parsers from the Combinators module.

Ergo.Parser contains the Parser record type. Ergo parsers are anonymous functions but we embed them in a Parser record that can hold arbitrary metadata. The primary use for the metadata is the storage of debugging information.

Ergo.Terminals contains the terminal parsers.