Learn R Programming

xegaDerivationTrees (version 1.0.0.6)

booleanGrammar: A constant function which returns the BNF (Backus-Naur Form) of a context-free grammar for the XOR problem.

Description

A constant function which returns the BNF (Backus-Naur Form) of a context-free grammar for the XOR problem.

Usage

booleanGrammar()

Arguments

Value

A named list with elements $filename and $BNF

representing the grammar of a boolean grammar with two variables and the boolean functions AND, OR, and NOT.

Details

Imported from package xegaBNF for use in examples.

See Also

Other Grammar: compileBNF()

Examples

Run this code
booleanGrammar()

Run the code above in your browser using DataLab