Other packages > Find by keyword >

xegaBNF  

Compile a Backus-Naur Form Specification into an R Grammar Object
View on CRAN: Click here


Download and install xegaBNF package within the R console
Install from CRAN:
install.packages("xegaBNF")

Install from Github:
library("remotes")
install_github("cran/xegaBNF")

Install by package version:
library("remotes")
install_version("xegaBNF", "1.0.0.5")



Attach the package and use:
library("xegaBNF")
Maintained by
Andreas Geyer-Schulz
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2024-02-05
Latest Update: 2025-04-17
Description:
Translates a BNF (Backus-Naur Form) specification of a context-free language into an R grammar object which consists of the start symbol, the symbol table, the production table, and a short production table. The short production table is non-recursive. The grammar object contains the file name from which it was generated (without a path). In addition, it provides functions to determine the type of a symbol (isTerminal() and isNonterminal()) and functions to access the production table (rules() and derives()). For the BNF specification, see Backus, John et al. (1962) "Revised Report on the Algorithmic Language ALGOL 60". (ALGOL60 standards page <http://www.algol60.org/2standards.htm>, html-edition <https://www.masswerk.at/algol60/report.htm>) The grammar compiler is based on the APL2 implementation in Geyer-Schulz, Andreas (1997, ISBN:978-3-7908-0830-X).
How to cite:
Andreas Geyer-Schulz (2024). xegaBNF: Compile a Backus-Naur Form Specification into an R Grammar Object. R package version 1.0.0.5, https://cran.r-project.org/web/packages/xegaBNF. Accessed 12 Sep. 2026.
Previous versions and publish date:
(2026-07-09 06:56), 1.0.0.0 (2024-02-05 21:50)
Other packages that cited xegaBNF R package
View xegaBNF citation profile
Other R packages that xegaBNF depends, imports, suggests or enhances
Complete documentation for xegaBNF
Functions, R codes and Examples using the xegaBNF R package
Full xegaBNF package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

mixl  
Simulated Maximum Likelihood Estimation of Mixed Logit Models for Large Datasets
Specification and estimation of multinomial logit models. Large datasets and complex models are su ...
Download / Learn more Package Citations See dependency  
unikn  
Graphical Elements of the University of Konstanz's Corporate Design
Define and use graphical elements of corporate design manuals in R. The 'unikn' package provides col ...
Download / Learn more Package Citations See dependency  
NScluster  
Simulation and Estimation of the Neyman-Scott Type Spatial Cluster Models
Simulation and estimation for Neyman-Scott spatial cluster point process models and their extension ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
qdapTools  
Tools for the 'qdap' Package
A collection of tools associated with the 'qdap' package that may be useful outside of the context ...
Download / Learn more Package Citations See dependency  
electionsBR  
R Functions to Download and Clean Brazilian Electoral Data
Offers a set of functions to easily download and clean Brazilian electoral data from the Superior E ...
Download / Learn more Package Citations See dependency  

28,480

R Packages

239,283

Dependencies

75,677

Author Associations

28,481

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA