A Scannerless GLR parser/parser generator. Note that GLR standing for "generalized LR", where L stands for "left-to-right" and R stands for "rightmost (derivation)". For more information see <https://en.wikipedia.org/wiki/GLR_parser>. This parser is based on the Tomita (1987) algorithm. (Paper can be found at <https://aclanthology.org/P84-1073.pdf>). The original 'dparser' package documentation can be found at <https://dparser.sourceforge.net/>. This allows you to add mini-languages to R (like rxode2's ODE mini-language Wang, Hallow, and James 2015 <doi:10.1002/psp4.12052>) or to parse other languages like 'NONMEM' to automatically translate them to R code. To use this in your code, add a LinkingTo dparser in your DESCRIPTION file and instead of using #include <dparse.h> use #include <dparser.h>. This also provides a R-based port of the make_dparser <https://dparser.sourceforge.net/d/make_dparser.cat> command called mkdparser(). Additionally you can parse an arbitrary grammar within R using the dparse() function, which works on most OSes and is mainly for grammar testing. The fastest parsing, of course, occurs at the C level, and is suggested.
Version: | 1.3.1-13 |
Depends: | R (≥ 3.3) |
Imports: | digest, methods |
Suggests: | rex, covr, testthat, knitr, devtools |
Published: | 2024-10-22 |
DOI: | 10.32614/CRAN.package.dparser |
Author: | Matthew Fidler [aut, cre], John Plevyak [aut, cph] |
Maintainer: | Matthew Fidler <matthew.fidler at gmail.com> |
BugReports: | https://github.com/nlmixr2/dparser-R/issues/ |
License: | BSD_3_clause + file LICENSE |
URL: | https://nlmixr2.github.io/dparser-R/, https://github.com/nlmixr2/dparser-R/ |
NeedsCompilation: | yes |
Materials: | NEWS |
CRAN checks: | dparser results |
Reference manual: | dparser.html , dparser.pdf |
Package source: | dparser_1.3.1-13.tar.gz |
Windows binaries: | r-devel: dparser_1.3.1-13.zip, r-release: dparser_1.3.1-13.zip, r-oldrel: dparser_1.3.1-13.zip |
macOS binaries: | r-release (arm64): dparser_1.3.1-13.tgz, r-oldrel (arm64): dparser_1.3.1-13.tgz, r-release (x86_64): dparser_1.3.1-13.tgz, r-oldrel (x86_64): dparser_1.3.1-13.tgz |
Old sources: | dparser archive |
Reverse imports: | monolix2rx, nonmem2rx, rxode2 |
Reverse linking to: | monolix2rx, nonmem2rx, rxode2 |
Please use the canonical form https://CRAN.R-project.org/package=dparser to link to this page.