https://github.com/EasyCrypt/easycrypt
Revision a549eb44e2b03ffed06fdc356fcad09a49c247bf authored by Pierre-Yves Strub on 19 November 2021, 06:23:34 UTC, committed by Pierre-Yves Strub on 19 November 2021, 06:27:09 UTC
This can be done by adding the "opaque" tag, e.g.:

  op [opaque] myop = ...

solve #94
1 parent 10e1563
Raw File
Tip revision: a549eb44e2b03ffed06fdc356fcad09a49c247bf authored by Pierre-Yves Strub on 19 November 2021, 06:23:34 UTC
Add an option to define opaque operators
Tip revision: a549eb4
Makefile
# -*- Makefile -*-

# --------------------------------------------------------------------
OCAMLBUILD_BIN   = ocamlbuild -use-ocamlfind
OCAMLBUILD_EXTRA = -classic-display

# In Emacs, use classic display to enable error jumping.
ifeq ($(shell echo $$TERM), dumb)
 OCAMLBUILD_EXTRA += -classic-display
endif
OCAMLBUILD := $(OCAMLBUILD_BIN) $(OCAMLBUILD_EXTRA)

# --------------------------------------------------------------------
.PHONY: all clean

all:
	$(OCAMLBUILD) ppx_lint.native

clean:
	$(OCAMLBUILD) -clean
	rm -f ppx_lint.native* ppx_lint.byte*
back to top