grammar.symbols: Read the grammar.output file generated by bison

Description Usage Value Author(s) Examples

Description

When bison is used with the -v switch, the grammar.output file is generated. This function extracts symbols, terminal and non-terminal, from the file and structure them in a data frame

Usage

1

Value

A data frame. See symbols

Author(s)

Romain Francois <romain@r-enthusiasts.com>

Examples

1
2
3
4
5
6
7
## Not run: 
# the bison generated grammar output
system.file( "grammar", "gram.output", package = "parser" )

grammar.symbols()

## End(Not run)

parser documentation built on May 2, 2019, 6:49 p.m.