aboutsummaryrefslogtreecommitdiff
path: root/plugins/syntax/dune
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2019-03-22 06:33:49 +0100
committerEmilio Jesus Gallego Arias2020-04-11 17:45:18 -0400
commit5db591257070734439dd5550995d6d3f497256c0 (patch)
tree89c1a0db34ccfc13ab09440a1f719a26815fa360 /plugins/syntax/dune
parentbc411fa4d8c04424c579d506dd0507cb83db7bc7 (diff)
[dune] [stdlib] Build the standard library natively with Dune.
This completes a pure Dune bootstrap of Coq. There is still the question if we should modify `coqdep` so it does output a dependency on `Init.Prelude.vo` in certain cases. TODO: We still double-add `theories` and `plugins` [in coqinit and in Dune], this should be easy to clean up. Setting `libs_init_load_path` does give a correct build indeed; however we still must call this for compatibility?
Diffstat (limited to 'plugins/syntax/dune')
-rw-r--r--plugins/syntax/dune36
1 files changed, 36 insertions, 0 deletions
diff --git a/plugins/syntax/dune b/plugins/syntax/dune
new file mode 100644
index 0000000000..b395695c8a
--- /dev/null
+++ b/plugins/syntax/dune
@@ -0,0 +1,36 @@
+(library
+ (name numeral_notation_plugin)
+ (public_name coq.plugins.numeral_notation)
+ (synopsis "Coq numeral notation plugin")
+ (modules g_numeral numeral)
+ (libraries coq.vernac))
+
+(library
+ (name string_notation_plugin)
+ (public_name coq.plugins.string_notation)
+ (synopsis "Coq string notation plugin")
+ (modules g_string string_notation)
+ (libraries coq.vernac))
+
+(library
+ (name r_syntax_plugin)
+ (public_name coq.plugins.r_syntax)
+ (synopsis "Coq syntax plugin: reals")
+ (modules r_syntax)
+ (libraries coq.vernac))
+
+(library
+ (name int63_syntax_plugin)
+ (public_name coq.plugins.int63_syntax)
+ (synopsis "Coq syntax plugin: int63")
+ (modules int63_syntax)
+ (libraries coq.vernac))
+
+(library
+ (name float_syntax_plugin)
+ (public_name coq.plugins.float_syntax)
+ (synopsis "Coq syntax plugin: float")
+ (modules float_syntax)
+ (libraries coq.vernac))
+
+(coq.pp (modules g_numeral g_string))