variableNamesLHS {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
variableNamesLHS(varSym, k)
Arguments
varSym |
String. The variable names (character part). |
k |
Integer. Number of variables. |
Details
Compiles the LHS part of a BNF rule 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.:
variableNamesBNF()
Examples
cat(variableNamesLHS("D", 7))
[Package xegaBNF version 1.0.0.5 Index]