Skip to content

dparser

Port of 'Dparser' Package

v1.3.1-13 · Oct 22, 2024 · BSD_3_clause + file LICENSE

Description

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.

Downloads

2.3K

Last 30 days

2787th

7.1K

Last 90 days

34K

Last year

Trend: -4.9% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (3)

Dependency Network

Dependencies Reverse dependencies digest monolix2rx nonmem2rx rxode2 dparser

Version History

new 1.3.1-13 Mar 10, 2026
updated 1.3.1-13 ← 1.3.1-12 diff Oct 21, 2024
updated 1.3.1-12 ← 1.3.1-11 diff Sep 17, 2024
updated 1.3.1-11 ← 1.3.1-10 diff Dec 7, 2023
updated 1.3.1-10 ← 1.3.1-9 diff Mar 15, 2023
updated 1.3.1-9 ← 1.3.1-8 diff Nov 9, 2022
updated 1.3.1-8 ← 1.3.1-7 diff Oct 28, 2022
updated 1.3.1-7 ← 1.3.1-6 diff Oct 8, 2022
updated 1.3.1-6 ← 1.3.1-5 diff Oct 4, 2022
updated 1.3.1-5 ← 1.3.1-4 diff Mar 20, 2022
updated 1.3.1-4 ← 1.3.1-3 diff Apr 6, 2021
updated 1.3.1-3 ← 1.3.1-2 diff Apr 5, 2021
updated 1.3.1-2 ← 0.1.8 diff Apr 2, 2021
updated 0.1.8 ← 0.1.7 diff Nov 12, 2017
updated 0.1.6 ← 0.1.5 diff Oct 4, 2017
updated 0.1.7 ← 0.1.6 diff Oct 4, 2017
updated 0.1.5 ← 0.1.4 diff Sep 23, 2017
updated 0.1.4 ← 0.1.3 diff Sep 22, 2017
new 0.1.3 Apr 28, 2017