Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 248 Bytes

boolx.md

File metadata and controls

18 lines (12 loc) · 248 Bytes

Grammar for example: boolx

package "boolx"

Expr :   var
     |   Expr Op Expr
     ;

The second alternate above, Expr : Expr Op Expr, is ambiguous and can produce an ambiguous parse forest.


var : letter ;

Op : "&" | "|" ;