[][src]Crate parsers

The library of parser combinators.

Using rules, you can express a grammar of any language. Here is common rules such as latin or any. Also rule combinators such as or, cat, range and etc.

Modules

common

The common rules such as numbers, letters and signs

rules

The rule combinators to build complex rules.

Macros

rule

Still in development.

Structs

Rule

The type wrapper to provide useful methods for a rule.

Enums

Expected

An enum for provision of information about an expected values in the rule.

Ruled

The result of applying the rules.

Traits

Apply

An interface of rules.

Concat

An interface for concatenation of some values.

Functions

apply

Applies the input to the rule and returns Ruled struct.

apply_result

Applies the input to the rule and returns Result.

rule

Constructor for Rule.