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 24 Oct. 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

climwin  
Climate Window Analysis
Contains functions to detect and visualise periods of climate sensitivity (climate windows) for a g ...
Download / Learn more Package Citations See dependency  
magicfor  
Magic Functions to Obtain Results from for Loops
Magic functions to obtain results from for loops. ...
Download / Learn more Package Citations See dependency  
forecastHybrid  
Convenient Functions for Ensemble Time Series Forecasts
Convenient functions for ensemble forecasts in R combining approaches from the 'forecast' package. ...
Download / Learn more Package Citations See dependency  
gemlog  
File Conversion for "Gem Infrasound Logger"
Reads data files from the 'Gem infrasound logger' for analysis and converts to segy format (which is ...
Download / Learn more Package Citations See dependency  
FDRsampsize  
Compute Sample Size that Meets Requirements for Average Power and FDR
Defines a collection of functions to compute average power and sample size for studies that use the ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  

29,080

R Packages

247,686

Dependencies

77,281

Author Associations

29,081

Publication Badges

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