[][src]Crate honeycomb

Modules

atoms

This module contains the atoms necessary for writing any parser.

basic

This module is useful for basic and common parsers, such as email address parsers, version number parsers, etc.

language

This module is useful for consuming common language tokens such as strings, identifiers, punctuation, floats, and arrays.

transform

This module is useful for transforming the output of a parser into something useful. An example of this is converting a Vec into a String.

Structs

Error

This struct is the Err result when parsing. It contains a string representing: The actual input received The expected input And the remaining, unparsed input

Parser

A Parser has a function that consumes input and returns an object of type Output.

Type Definitions

Output

The Output type represents the output of a parser. Ok(T, String) result represents successfully parsed & lexed input. The T type represents the consumed and lexed input, and the String represents the remaining input.