Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
gares committed Oct 10, 2023
1 parent 8d162d2 commit 1706169
Show file tree
Hide file tree
Showing 8 changed files with 1,502 additions and 3,049 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export ELPIDIR

DEPS=$(ELPIDIR)/elpi.cmxa $(ELPIDIR)/elpi.cma

APPS=$(addprefix apps/, derive eltac NES locker coercion)
APPS=$(addprefix apps/, derive eltac NES locker coercion tc)

ifeq "$(COQ_ELPI_ALREADY_INSTALLED)" ""
DOCDEP=build
Expand Down
1 change: 0 additions & 1 deletion apps/coercion/theories/coercion.v
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,3 @@ solve (goal Ctx _ Ty Sol [trm V, trm VTy]) _ :- coercion Ctx V VTy Ty Sol.
Elpi Accumulate Db coercion.db.
Elpi Typecheck.
Elpi CoercionFallbackTactic coercion.
}}.
9 changes: 9 additions & 0 deletions apps/tc/Makefile.coq.local
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@ CAMLPKGS+= -package coq-elpi.elpi
OCAMLPATH:=../../src/:$(OCAMLPATH)
export OCAMLPATH

# detection of elpi
ifeq "$(ELPIDIR)" ""
ELPIDIR=$(shell ocamlfind query elpi 2>/dev/null)
endif
ifeq "$(ELPIDIR)" ""
$(error Elpi not found, make sure it is installed in your PATH or set ELPIDIR)
endif
export ELPIDIR

merlin-hook::
echo "S $(abspath $(ELPIDIR))" >> .merlin
echo "B $(abspath $(ELPIDIR))" >> .merlin
Expand Down
1 change: 1 addition & 0 deletions apps/tc/_CoqProject
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
-R elpi elpi.apps.tc

src/coq_elpi_tc_hook.mlg
src/coq_elpi_class_tactics_hacked.ml
src/elpi_tc_plugin.mlpack

-I src/
Expand Down
Loading

0 comments on commit 1706169

Please sign in to comment.