@@ -249,6 +249,7 @@ Elpi Accumulate Db hb.db.
249249#[only="8.15.*"] Elpi Accumulate File "HB/common/compat_815.elpi".
250250Elpi Accumulate lp:{{
251251
252+ :name "start"
252253main [str S] :- !,
253254 if (decl-location {coq.locate S} Loc)
254255 (coq.say "HB: synthesized in file" Loc)
@@ -284,6 +285,7 @@ Elpi Accumulate File "HB/about.elpi".
284285Elpi Accumulate Db hb.db.
285286Elpi Accumulate lp:{{
286287
288+ :name "start"
287289main [str S] :- !, with -attributes (with -logging (about.main S)).
288290
289291main _ :- coq.error "Usage: HB.about <name>.".
@@ -318,6 +320,7 @@ Elpi Accumulate File "HB/howto.elpi".
318320Elpi Accumulate Db hb.db.
319321Elpi Accumulate lp:{{
320322
323+ :name "start"
321324main [trm T, str STgt] :- !,
322325 with -attributes (with -logging (howto.main-trm T STgt none)).
323326main [trm T, str STgt, int Depth] :- !,
@@ -357,6 +360,7 @@ Elpi Accumulate File "HB/status.elpi".
357360Elpi Accumulate Db hb.db.
358361Elpi Accumulate lp:{{
359362
363+ :name "start"
360364main [] :- !, status.print-hierarchy.
361365
362366main _ :- coq.error "Usage: HB.status.".
@@ -386,6 +390,7 @@ Elpi Accumulate File "HB/graph.elpi".
386390Elpi Accumulate Db hb.db.
387391Elpi Accumulate lp:{{
388392
393+ :name "start"
389394main [str File ] :- with-attributes (with-logging (graph.to-file File )).
390395main _ :- coq.error "Usage: HB.graph <filename>.".
391396
@@ -439,6 +444,7 @@ Elpi Accumulate File "HB/factory.elpi".
439444Elpi Accumulate Db hb.db.
440445Elpi Accumulate lp:{{
441446
447+ :name "start"
442448main [A] :- A = indt-decl _, !,
443449 with -attributes (with -logging (factory.declare-mixin A)).
444450
@@ -496,6 +502,7 @@ Elpi Accumulate File "HB/common/synthesis.elpi".
496502Elpi Accumulate File "HB/pack.elpi".
497503Elpi Accumulate lp:{{
498504
505+ :name "start"
499506solve (goal _ _ S _ [trm Ty | Args] as G) GLS :- with-attributes (with-logging (std.do! [
500507 pack.main Ty Args InstanceSkel,
501508 std.assert-ok! (coq.elaborate-skeleton InstanceSkel S Instance ) "HB.pack_for: the instance does not solve the goal",
@@ -518,6 +525,7 @@ Elpi Accumulate File "HB/common/synthesis.elpi".
518525Elpi Accumulate File "HB/pack.elpi".
519526Elpi Accumulate lp:{{
520527
528+ :name "start"
521529solve (goal _ _ Ty _ Args as G) GLS :- with-attributes (with-logging (std.do! [
522530 pack.main Ty Args InstanceSkel,
523531 std.assert-ok! (coq.elaborate-skeleton InstanceSkel Ty Instance ) "HB.pack: the instance does not solve the goal",
@@ -607,6 +615,7 @@ Elpi Accumulate File "HB/structure.elpi".
607615Elpi Accumulate Db hb.db.
608616Elpi Accumulate lp:{{
609617
618+ :name "start"
610619main [const-decl N (some B) Arity] :- !, std.do! [
611620 prod-last {coq.arity->term Arity} Ty,
612621 if (ground_term Ty) (Sort = Ty) (Sort = {{Type }}), sort Univ = Sort,
@@ -657,6 +666,7 @@ Elpi Accumulate File "HB/instance.elpi".
657666Elpi Accumulate Db hb.db.
658667Elpi Accumulate lp:{{
659668
669+ :name "start"
660670main [const-decl Name (some BodySkel) TyWPSkel] :- !,
661671 with -attributes (with -logging (instance.declare-const Name BodySkel TyWPSkel _)).
662672main [T0, F0] :- !,
@@ -690,6 +700,8 @@ Elpi Accumulate File "HB/export.elpi".
690700Elpi Accumulate File "HB/factory.elpi".
691701Elpi Accumulate Db hb.db.
692702Elpi Accumulate lp:{{
703+
704+ :name "start"
693705main [A] :- (A = indt-decl _ ; A = const-decl _ _ _), !,
694706 with -attributes (with -logging (factory.declare A)).
695707
@@ -751,9 +763,12 @@ Elpi Accumulate File "HB/factory.elpi".
751763Elpi Accumulate File "HB/builders.elpi".
752764Elpi Accumulate Db hb.db.
753765Elpi Accumulate lp:{{
766+
767+ :name "start"
754768main [ctx-decl C] :- !, with -attributes (with -logging (builders.begin C)).
755769
756770main _ :- coq.error "Usage: HB.builders Context A (f : F1 A).".
771+
757772}}.
758773Elpi Typecheck.
759774Elpi Export HB.builders.
@@ -773,8 +788,11 @@ Elpi Accumulate File "HB/export.elpi".
773788Elpi Accumulate File "HB/builders.elpi".
774789Elpi Accumulate Db hb.db.
775790Elpi Accumulate lp:{{
791+
792+ :name "start"
776793main [] :- !, with -attributes (with -logging builders.end ).
777794main _ :- coq.error "Usage: HB.end .".
795+
778796}}.
779797Elpi Typecheck.
780798Elpi Export HB.end .
@@ -821,8 +839,11 @@ Elpi Accumulate File "HB/common/log.elpi".
821839Elpi Accumulate File "HB/export.elpi".
822840Elpi Accumulate Db hb.db.
823841Elpi Accumulate lp:{{
842+
843+ :name "start"
824844main [str M] :- !, with -attributes (with -logging (export.any M)).
825845main _ :- coq.error "Usage: HB.export M.".
846+
826847}}.
827848Elpi Typecheck.
828849Elpi Export HB.export.
@@ -847,9 +868,12 @@ Elpi Accumulate File "HB/common/log.elpi".
847868Elpi Accumulate File "HB/export.elpi".
848869Elpi Accumulate Db hb.db.
849870Elpi Accumulate lp:{{
871+
872+ :name "start"
850873main [] :- !, with -attributes (with -logging (export.reexport-all-modules-and-CS none)).
851874main [str M] :- !, with -attributes (with -logging (export.reexport-all-modules-and-CS (some M))).
852875main _ :- coq.error "Usage: HB.reexport.".
876+
853877}}.
854878Elpi Typecheck.
855879Elpi Export HB.reexport.
@@ -893,9 +917,12 @@ Elpi Accumulate File "HB/common/log.elpi".
893917Elpi Accumulate File "HB/lock.elpi".
894918Elpi Accumulate Db hb.db.
895919Elpi Accumulate lp:{{
920+
921+ :name "start"
896922main [const-decl Name (some BoSkel) TySkel] :- !,
897923 with -attributes (with -logging (lock.lock-def Name TySkel BoSkel)).
898924main _ :- coq.error "Usage: HB.lock Definition name : ty := t.".
925+
899926}}.
900927Elpi Typecheck.
901928Elpi Export HB.lock.
@@ -948,6 +975,7 @@ Elpi Accumulate File "HB/factory.elpi".
948975Elpi Accumulate Db hb.db.
949976Elpi Accumulate lp:{{
950977
978+ :name "start"
951979main [Ctx] :- Ctx = ctx-decl _, !,
952980 with -attributes (with -logging (
953981 factory.argument->w-mixins Ctx (pr FLwP _),
@@ -976,6 +1004,8 @@ Elpi Accumulate File "HB/common/database.elpi".
9761004Elpi Accumulate File "HB/common/utils.elpi".
9771005Elpi Accumulate File "HB/common/log.elpi".
9781006Elpi Accumulate lp:{{
1007+
1008+ :name "start"
9791009main [trm Skel] :- !, with -attributes (with -logging (check-or-not Skel)).
9801010main _ :- coq.error "usage: HB.check (term).".
9811011
0 commit comments