Construct Parsers for Structured Text Files


[Up] [Top]

Documentation for package ‘parcr’ version 0.5.1

Help Pages

%or% Applying alternative parsers
%ret% Return a fixed value instead of the result of a parser
%then% Applying parsers in sequence
%thenx% Keeping only first or second result from a %then% sequence
%using% Applying a function to the result of a parser
%xthen% Keeping only first or second result from a %then% sequence
by_split Applying a parser to a split string
by_symbol Applying a parser to individual symbols of a string
EmptyLine Recognize empty lines
eof Detect end of input
exactly Repeated application of a parser
fail The most basic parsers
failed Testing for parser failure
fastafile Example nucleotide fasta file
finished Test whether the parser has completely consumed the input
literal Matching parser input with a literal string
match_n Repeated application of a parser
match_s Identifying and processing a string and producing custom output
MaybeEmpty Recognize empty lines
one_or_more Repeated application of a parser
print.marker Print method for an object of class 'marker'
reporter Turn a parser into an error reporting parser
satisfy Matching input using a logical function
Spacer Recognize empty lines
succeed The most basic parsers
zero_or_more Repeated application of a parser
zero_or_one Repeated application of a parser