Learn R Programming

qmrparser (version 0.1.6)

Parser Combinator in R

Description

Basic functions for building parsers, with an application to PC-AXIS format files.

Copy Link

Version

Install

install.packages('qmrparser')

Monthly Downloads

345

Version

0.1.6

License

GPL (>= 3)

Maintainer

Juan Gea

Last Published

April 24th, 2022

Functions in qmrparser (0.1.6)

isLowercase

Is it a lower case?
alternation

Alternative phrases
charInSetParser

Single character, belonging to a given set, token
isLetter

Is it a letter?
commentParser

Comment token.
streamParser

Generic interface for character processing, allowing forward and backwards translation.
separator

Generic word separator token.
isSymbol

Is it a symbol?
isNewline

Is it a new line character?
numberFloat

Floating-point number token.
numberInteger

Integer number token.
eofMark

End of file token
keyword

Arbitrary given token.
numberNatural

Natural number token.
empty

Empty token
whitespace

White sequence token.
isWhitespace

Is it a white space?
isHex

Is it an hexadecimal digit?
isUppercase

Is it an upper case?
pcAxisParser

Parser for PC-AXIS format files
qmrparser-package

Parser Combinator in R
option

Optional parser
numberScientific

Number in scientific notation token.
streamParserFromFileName

Creates a streamParser from a file name
streamParserFromString

Creates a streamParser from a string
pcAxisCubeMake

Creates PC-AXIS cube
pcAxisCubeToCSV

Exports a PC-AXIS cube into CSV in several files.
repetition0N

Repeats one parser
repetition1N

Repeats a parser, at least once.
string

Token string
symbolic

Alphanumeric token.
charParser

Specific single character token.
dots

Dots sequence token.
isDigit

Is it a digit?
concatenation

One phrase then another