View source: R/derivationTrees.R
decodeDT | R Documentation |
The program may contain non-terminal symbols and its evaluation may fail.
decodeDT(tree, ST)
tree |
Derivation tree. |
ST |
Symbol table. |
A program
Other Decoder:
decodeAndFixDT()
,
decodeCDT()
,
decodeDTsym()
,
decodeTree()
,
leavesIncompleteDT()
g<-compileBNF(booleanGrammar())
t1<-generateDerivationTree(sym=g$Start,sample(100, 10, replace=TRUE), G=g)
decodeDT(t1$tree, g$ST)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.