This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1 @@
|
|||
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
(rule
|
||||
(alias default)
|
||||
(action (echo "%{read:cplugin.install}")))
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
(lang dune 2.5)
|
||||
|
||||
(using coq 0.2)
|
||||
|
|
@ -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))
|
||||
|
|
@ -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))
|
||||
|
|
@ -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
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1 @@
|
|||
val foo : int
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
let a = 3
|
||||
let _ = a
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
(library
|
||||
(public_name cplugin.ml_plugin_b)
|
||||
(name ml_plugin_b)
|
||||
(flags :standard -rectypes)
|
||||
(libraries ml_plugin_a))
|
||||
|
|
@ -0,0 +1 @@
|
|||
let _ = Ml_plugin_a.Simple.a
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
Declare ML Module "ml_plugin_a:cplugin.ml_plugin_a".
|
||||
Declare ML Module "ml_plugin_b:cplugin.ml_plugin_b".
|
||||
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
(coq.theory
|
||||
(name thy1)
|
||||
(package cplugin)
|
||||
(synopsis "Test Plugin")
|
||||
(plugins cplugin.ml_plugin_b)
|
||||
(modules :standard))
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
Declare ML Module "ml_plugin_a:cplugin.ml_plugin_a".
|
||||
Declare ML Module "ml_plugin_b:cplugin.ml_plugin_b".
|
||||
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
(coq.theory
|
||||
(name thy2)
|
||||
(package cplugin)
|
||||
(synopsis "Test Plugin")
|
||||
(theories thy1))
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue