decodeSymVec {xegaDerivationTrees} | R Documentation |
Decodes a vector of symbols.
Description
Decodes a vector of symbols.
Usage
decodeSymVec(v, ST)
Arguments
v |
Vector of symbols. |
ST |
Symbol table. |
Value
A program.
Examples
g<-compileBNF(booleanGrammar())
a<-randomDerivationTree(g$Start, g)
r<-treeRoot(a)
decodeSymVec(r, g$ST)
c<-unlist(lapply(treeChildren(a), FUN=treeRoot))
decodeSymVec(c, g$ST)
[Package xegaDerivationTrees version 1.0.0.6 Index]