finiteRulesOfG {xegaBNF}R Documentation

Which production rules produce only terminal symbols?

Description

Which production rules produce only terminal symbols?

Usage

finiteRulesOfG(G)

Arguments

G

A compiled context-free grammar.

Value

Vector of booleans.

See Also

Other Compilation of short production table: allTerminal(), cL(), directRecursion(), expandGrid(), expandRules(), findNextRuleForExpansion(), nonTerminalsOfG(), smallestRules()

Examples

g<-compileBNF(booleanGrammar())
finiteRulesOfG(g)


[Package xegaBNF version 1.0.0.5 Index]