Ramble: Parser Combinator for R

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

AuthorChapman Siu
Date of publication2016-10-29 10:48:13
MaintainerChapman Siu <chpmn.siu@gmail.com>
LicenseMIT + file LICENSE
Version0.1.1
https://github.com/chappers/Ramble

View on CRAN

Man pages

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...

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,...

grapes-using-grapes: '%using%' is the infix operator for using

ident: 'ident' is a parser which matches zero or more alphanumeric...

identifier: 'identifier' creates an identifier

item: 'item' is a parser that consumes the first character of the...

literal: 'literal' is a parser for single symbols. It will attempt to...

Lower: Lower checks for single lower case character

many: 'many' matches 0 or more of pattern 'p'. In BNF notation,...

maybe: 'maybe' matches 0 or 1 of pattern 'p'. In EBNF notation,...

nat: 'nat' is a parser which matches one or more numeric...

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...

some: 'some' matches 1 or more of pattern 'p'. in BNF notation,...

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...

succeed: 'succeed' is based on the empty string symbol in the BNF...

symbol: 'symbol' creates a token for a symbol

then: 'then' combinator corresponds to sequencing in BNF. The...

thentree: 'thentree' keeps the full tree representation of the results...

token: 'token' is a new primitive that ignores any space before and...

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

Upper: Upper checks for a single upper case character

using: 'using' combinator allows us to manipulate results from a...

Functions

Alpha Man page
AlphaNum Man page
alt Man page
\%alt\% Man page
Digit Man page
ident Man page
identifier Man page
item Man page
literal Man page
Lower Man page
many Man page
maybe Man page
nat Man page
natural Man page
package-ramble Man page
ramble Man page
Ramble Man page
Ramble-package Man page
satisfy Man page
some Man page
space Man page
SpaceCheck Man page
String Man page
succeed Man page
symbol Man page
then Man page
\%then\% Man page
thentree Man page
\%thentree\% Man page
token Man page
Unlist Man page
Upper Man page
using Man page
\%using\% Man page

Files

Ramble
Ramble/inst
Ramble/inst/doc
Ramble/inst/doc/Higher-Order_Functions_for_Parsing_in_R.html
Ramble/inst/doc/Higher-Order_Functions_for_Parsing_in_R.R
Ramble/inst/doc/Higher-Order_Functions_for_Parsing_in_R.Rmd
Ramble/tests
Ramble/tests/testthat.R
Ramble/tests/testthat
Ramble/tests/testthat/test_repetition.R
Ramble/tests/testthat/test_functions.R
Ramble/tests/testthat/test_functions2.R
Ramble/NAMESPACE
Ramble/R
Ramble/R/utils.R Ramble/R/Ramble.R Ramble/R/parser.R
Ramble/vignettes
Ramble/vignettes/Higher-Order_Functions_for_Parsing_in_R.Rmd
Ramble/MD5
Ramble/build
Ramble/build/vignette.rds
Ramble/DESCRIPTION
Ramble/man
Ramble/man/symbol.Rd Ramble/man/space.Rd Ramble/man/grapes-then-grapes.Rd Ramble/man/token.Rd Ramble/man/grapes-using-grapes.Rd Ramble/man/maybe.Rd Ramble/man/SpaceCheck.Rd Ramble/man/grapes-thentree-grapes.Rd Ramble/man/thentree.Rd Ramble/man/satisfy.Rd Ramble/man/item.Rd Ramble/man/literal.Rd Ramble/man/Ramble.Rd Ramble/man/then.Rd Ramble/man/Unlist.Rd Ramble/man/succeed.Rd Ramble/man/many.Rd Ramble/man/String.Rd Ramble/man/Lower.Rd Ramble/man/Digit.Rd Ramble/man/Alpha.Rd Ramble/man/Upper.Rd Ramble/man/AlphaNum.Rd Ramble/man/natural.Rd Ramble/man/ident.Rd Ramble/man/identifier.Rd Ramble/man/using.Rd Ramble/man/grapes-alt-grapes.Rd Ramble/man/some.Rd Ramble/man/nat.Rd Ramble/man/alt.Rd
Ramble/LICENSE

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.