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 @@
(rule
(alias default)
(action (echo "%{read:cplugin.install}")))

View file

@ -0,0 +1,3 @@
(lang dune 2.5)
(using coq 0.2)

View file

@ -0,0 +1,5 @@
$ dune build @all
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))

View file

@ -0,0 +1,7 @@
(library
(public_name cplugin.ml_plugin_a)
(name ml_plugin_a)
(flags :standard -rectypes)
(libraries coq-core.plugins.ltac))
(coq.pp (modules gram))

View file

@ -0,0 +1,9 @@
DECLARE PLUGIN "cplugin.ml_plugin_a"
{
(* We don't use any coqpp specific macros as to make the test more
resilient on different Coq versions *)
let foo = 3
}

View file

@ -0,0 +1,2 @@
let a = 3
let _ = a

View file

@ -0,0 +1,5 @@
(library
(public_name cplugin.ml_plugin_b)
(name ml_plugin_b)
(flags :standard -rectypes)
(libraries ml_plugin_a))

View file

@ -0,0 +1 @@
let _ = Ml_plugin_a.Simple.a

View file

@ -0,0 +1,3 @@
Declare ML Module "ml_plugin_a:cplugin.ml_plugin_a".
Declare ML Module "ml_plugin_b:cplugin.ml_plugin_b".

View file

@ -0,0 +1,6 @@
(coq.theory
(name thy1)
(package cplugin)
(synopsis "Test Plugin")
(plugins cplugin.ml_plugin_b)
(modules :standard))

View file

@ -0,0 +1,3 @@
Declare ML Module "ml_plugin_a:cplugin.ml_plugin_a".
Declare ML Module "ml_plugin_b:cplugin.ml_plugin_b".

View file

@ -0,0 +1,6 @@
(coq.theory
(name thy2)
(package cplugin)
(synopsis "Test Plugin")
(theories thy1))