| makeStartSymbol | R Documentation |
makeStartSymbol() returns
the start symbol's numerical identifier
from a specification of a context-free grammar in BNF.
Warning: No error checking implemented.
makeStartSymbol(BNF, ST)
BNF |
A character string with the BNF. |
ST |
A symbol table. |
The numerical identifier of the start symbol of the BNF.
a<-booleanGrammar()$BNF
ST<-makeSymbolTable(a)
makeStartSymbol(a,ST)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.