Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: markup/scientific/logic/cnf/extracted
Source used for this grammar: Jurgen Vinju, lang::dimacs::syntax::Dimacs
, 2 June 2012 [GitHub]
Line
, Disjuncts
, Dimacs
), 0 root (—), 2 top (Disjuncts
, Dimacs
), 4 bottom (Comment
, Number
, Prologue
, Disjunct
).[comment]
2, [disjunct]
2, [numbers]
, [prologue]
, [lines]
.Line ::= [comment]::[comment]::Comment
Line ::= [disjunct]::[disjunct]::Disjunct
Disjuncts ::=
[numbers]::Number
Dimacs ::= [prologue]::Prologue [lines]::"\n" "\n"Line