Ramble0.1.1 package

Parser Combinator for R

Alpha

Alpha checks for single alphabet character

AlphaNum

AlphaNum checks for a single alphanumeric character

alt

alt combinator is similar to alternation in BNF. the parser `(alt(p1...

Digit

Digit checks for single digit

grapes-alt-grapes

%alt% is the infix notation for the alt function.

grapes-then-grapes

%then% is the infix operator for the then combinator.

grapes-thentree-grapes

%thentree% is the infix operator for the then combinator, and it is ...

grapes-using-grapes

%using% is the infix operator for using

ident

ident is a parser which matches zero or more alphanumeric characters...

identifier

identifier creates an identifier

item

item is a parser that consumes the first character of the string and...

literal

literal is a parser for single symbols. It will attempt to match the...

Lower

Lower checks for single lower case character

many

many matches 0 or more of pattern p. In BNF notation, repetition o...

maybe

maybe matches 0 or 1 of pattern p. In EBNF notation, this correspo...

nat

nat is a parser which matches one or more numeric characters.

natural

natural creates a token parser for natural numbers

Ramble

Ramble is a parser generator using combinatory parsers.

satisfy

satisfy is a function which allows us to make parsers that recognise...

some

some matches 1 or more of pattern p. in BNF notation, repetition o...

space

space matches zero or more space characters.

SpaceCheck

SpaceCheck checks for a single space character

String

String is a combinator which allows us to build parsers which recogn...

succeed

succeed is based on the empty string symbol in the BNF notation The ...

symbol

symbol creates a token for a symbol

then

then combinator corresponds to sequencing in BNF. The parser `(then(...

thentree

thentree keeps the full tree representation of the results of parsin...

token

token is a new primitive that ignores any space before and after app...

Unlist

Unlist is the same as unlist, but doesn't recurse all the way to prese...

Upper

Upper checks for a single upper case character

using

using combinator allows us to manipulate results from a parser, for ...

Parser generator for R using combinatory parsers. It is inspired by combinatory parsers developed in Haskell.