dataframePT {xegaBNF}R Documentation

The dataframe of a production table of a grammar (readable).

Description

The dataframe of a production table of a grammar (readable).

Usage

dataframePT(PT, G)

Arguments

PT

A production table of the grammar G.

G

A grammar object

Value

A dataframe of the production table.

See Also

Other Diagnostics: printPT()

Examples

g<-compileBNF(booleanGrammar())
cat("Production table:\n")
l<-dataframePT(g$PT, g)
cat("Short Production table:\n")
dataframePT(g$SPT, g)


[Package xegaBNF version 1.0.0.5 Index]