aboutsummaryrefslogtreecommitdiffstats
path: root/src/zchaff/cnfParser.mli
blob: 3188591d7d2ce3547ac91a89fe2056f8aa266e33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
(**************************************************************************)
(*                                                                        *)
(*     SMTCoq                                                             *)
(*     Copyright (C) 2011 - 2022                                          *)
(*                                                                        *)
(*     See file "AUTHORS" for the list of authors                         *)
(*                                                                        *)
(*   This file is distributed under the terms of the CeCILL-C licence     *)
(*                                                                        *)
(**************************************************************************)


val skip_comment : SatParser.lex_buff -> unit
val parse_p_cnf : SatParser.lex_buff -> int
val mklit : int -> SatAtom.Form.reify -> int -> SatAtom.Form.t
val parse_clause :
  int -> SatAtom.Form.reify -> SatParser.lex_buff -> SatAtom.Form.t list
val parse_clauses :
  int ->
  SatAtom.Form.reify ->
  SatParser.lex_buff ->
  SatAtom.Form.t SmtCertif.clause -> SatAtom.Form.t SmtCertif.clause
val parse_cnf :
  string ->
  int * SatAtom.Form.t SmtCertif.clause * SatAtom.Form.t SmtCertif.clause