parser_combs v0.1.0 Parser.Library View Source
This module provides a few basic parsers. Has to be imported explicitly.
Link to this section Summary
Functions
parser that succeeds if the input string starts with a letter.
parser that succeed if the input string starts with either a digit of letter.
accepts a single character and produces a parser that succeeds if the input string begins with that character.
parser that succeeds if the input string start with a digit within 0..9
parser that succeeds if the input string starts with with a digit from 1..9
parser that succeeds if the input string starts with a digit. Returns a string composed of all subsequent digits found.
parser that succeed if the input string starts with
parser that succeeds if the input string starts with . Consumes every following of the input string.
accepts a string and produces a parser that succeeds if the input string begins with that string. Case sensitive.
parser that succeeds if the input string starts with '0'
Link to this section Functions
parser that succeeds if the input string starts with a letter.
parser that succeed if the input string starts with either a digit of letter.
accepts a single character and produces a parser that succeeds if the input string begins with that character.
parser that succeeds if the input string start with a digit within 0..9
parser that succeeds if the input string starts with with a digit from 1..9
parser that succeeds if the input string starts with a digit. Returns a string composed of all subsequent digits found.
parser that succeed if the input string starts with
parser that succeeds if the input string starts with . Consumes every following of the input string.
accepts a string and produces a parser that succeeds if the input string begins with that string. Case sensitive.
parser that succeeds if the input string starts with '0'