smallestRules {xegaBNF}R Documentation

List of rules with the smallest number of nonterminals.

Description

List of rules with the smallest number of nonterminals.

Usage

smallestRules(PT)

Arguments

PT

Production table.

Value

List of indices of the production rule(s) with the smallest number of non terminals.

See Also

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

Examples

g<-compileBNF(booleanGrammar())
smallestRules(g$PT)


[Package xegaBNF version 1.0.0.5 Index]