View Source Chrysopoeia (chrysopoeia v0.1.2)

Chrysopoeia is a parser combinator library heavily inspired by Rust's nom.

It mainly exists as a learning tool for fun :).

Link to this section Summary

Types

A function that creates new parsers

A function that takes one argument, either parses it into data, or fails with an error.

Link to this section Types

@type combinator(i, o, e) :: (... -> parser(i, o, e))

A function that creates new parsers

@type parser(i, o, e) :: (i -> {:ok, o, i} | {:err, e})

A function that takes one argument, either parses it into data, or fails with an error.