variableNamesBNF {xegaBNF} | R Documentation |
Generate synthetic variable names as list of rules in BNF.
Description
Generate synthetic variable names as list of rules in BNF.
Usage
variableNamesBNF(varNT, varSym, k)
Arguments
varNT |
String. The non-terminal symbol for variables. |
varSym |
String. The variable names (character part). |
k |
Integer. Number of variables. |
Details
Compiles BNF rules for variable names.
The integers in 1:k
are the integer part
of the variable names generated.
Value
Text vector with production rules for k variables.
See Also
Other Syntactic support.:
variableNamesLHS()
Examples
cat(variableNamesBNF("<f0>", "D", 7))
[Package xegaBNF version 1.0.0.5 Index]