grammar.symbols {parser}R Documentation

Read the grammar.output file generated by bison

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

grammar.symbols()

Value

A data frame. See symbols

Author(s)

Romain Francois <francoisromain@free.fr>

See Also

The data frame symbols is generated using this function

Examples

## Not run: 
# the bison generated grammar output
system.file( "grammar", "gram.output", package = "parser" )
data( grammar_symbols )
stopifnot( identical( grammar_symbols, grammar.symbols( ) ) )
## End(Not run)

[Package parser version 0.0-3 Index]