powered by
A constant function which returns the BNF (Backus-Naur Form) of a context-free grammar for the XOR problem.
booleanGrammar()
A named list with elements $filename and $BNF
$filename
$BNF
representing the grammar of a boolean grammar with two variables and the boolean functions AND, OR, and NOT.
AND
OR
NOT
Imported from package xegaBNF for use in examples.
Other Grammar: compileBNF()
compileBNF()
Run the code above in your browser using DataLab