Making parsers with higher order functions5 months ago
Goal of the package | Higher order functions in R | Creating parser combinators in R to parse text files | The output of the parsers: a list | A simple example of using parser combinators | The functions in the parcr package | The fundamental parsers | Succeeding and failing | Parsers for the current element | The fundamental combinators | Modifying the output of a parser | Derived parsers | Iterators | Recognizing and processing strings with match_s | Functions that split a string and parse the substrings | Derived functions to recognize and modify empty lines | Example application: a parser for fasta sequence files | Example application: parsers with parameters | Improved error messaging (since v0.6) | Automatic Expected Values | Custom Expected Values with satisfy() | Semantic Names with named() | Literature
parcr 0.6.1.9000Douwe Molenaar Creating_parser_combinators.Rmd