Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: automata/petri/pnml/standard/booleans/extracted
Source used for this grammar: Lom Hillah, RELAX NG implementation of Booleans grammar, booleans.rng
, July 2008 [Download]
Operator
, BuiltInSort
, BuiltInOperator
, BuiltInConstant
, Bool
, BooleanOperator.content
, BooleanOperator
, And
, Or
, Not
, Imply
, Equality
, Inequality
, BooleanConstant
), 0 root (—), 4 top (Operator
, BuiltInSort
, BuiltInOperator
, BuiltInConstant
), 3 bottom (BuiltInOperator.content
, BuiltInConstant.content
, Operator.content
2).[bool]
, [and]
, [or]
, [not]
, [imply]
, [equality]
, [inequality]
, [value]
, [booleanconstant]
.Operator ::= Equality Inequality
BuiltInSort ::= Bool
BuiltInOperator ::= BooleanOperator
BuiltInConstant ::= BooleanConstant
Bool ::= [bool]::ε
BooleanOperator.content ::= BuiltInOperator.content
BooleanOperator ::= And Or Imply Not
And ::= [and]::BooleanOperator.content
Or ::= [or]::BooleanOperator.content
Not ::= [not]::BooleanOperator.content
Imply ::= [imply]::BooleanOperator.content
Equality ::= [equality]::Operator.content
Inequality ::= [inequality]::Operator.content
BooleanConstant ::= [booleanconstant]::"true""false" BuiltInConstant.content[value]::