This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1,3 @@
(lang dune 3.4)
(using coq 0.5)

View file

@ -0,0 +1,4 @@
(library
(name boot_plugin)
(public_name coq-boot.boot_plugin))

View file

@ -0,0 +1 @@
let () = Format.eprintf "plugin loaded@\n%!"

View file

@ -0,0 +1,2 @@
Declare ML Module "boot_plugin:coq-boot.boot_plugin".
Inductive AnotherBeginning := Of | The | Universe.

View file

@ -0,0 +1,7 @@
(coq.theory
(name Coq)
(boot)
(package coq-boot)
(plugins coq-boot.boot_plugin))
(include_subdirs qualified)

View file

@ -0,0 +1,5 @@
(coq.theory
(name User)
(package coq-user))

View file

@ -0,0 +1,3 @@
(lang dune 3.4)
(using coq 0.5)

View file

@ -0,0 +1 @@
Definition from_boot : AnotherBeginning := Universe.

View file

@ -0,0 +1,9 @@
Testing composition with a boot library with plugins
$ dune build
Warning: Coq Language Versions lower than 0.8 have been deprecated in Dune
3.8 and will be removed in an upcoming Dune version.
Hint: To disable this warning, add the following to your dune-project file:
(warnings (deprecated_coq_lang_lt_08 disabled))
plugin loaded
plugin loaded