forked from LPCIC/coq-elpi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcoq_elpi_builtins.mli
29 lines (21 loc) · 1.04 KB
/
coq_elpi_builtins.mli
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
26
27
28
29
(* coq-elpi: Coq terms as the object language of elpi *)
(* license: GNU Lesser General Public License Version 2.1 or later *)
(* ------------------------------------------------------------------------- *)
open Elpi.API
open Coq_elpi_utils
val coq_builtins : BuiltIn.declaration list
(* Clauses to be added to elpi programs when the execution is over *)
val clauses_for_later :
(qualified_name * Ast.program * Names.Id.t list * Coq_elpi_utils.clause_scope) list State.component
val set_accumulate_to_db : ((string list -> Ast.program -> Names.Id.t list -> scope:Coq_elpi_utils.clause_scope -> unit)) -> unit
type attribute_data =
| AttributeString of string
| AttributeLoc of Ast.Loc.t
type attribute_value =
| AttributeEmpty
| AttributeList of (string * attribute_value) list
| AttributeLeaf of attribute_data
val attribute : (string * attribute_value) Conversion.t
(* In tactic mode some APIs are disabled *)
val tactic_mode : bool ref
val cache_tac_abbrev : (Libobject.object_name * qualified_name) -> unit