aboutsummaryrefslogtreecommitdiff
path: root/dev/include_dune
diff options
context:
space:
mode:
Diffstat (limited to 'dev/include_dune')
-rw-r--r--dev/include_dune22
1 files changed, 22 insertions, 0 deletions
diff --git a/dev/include_dune b/dev/include_dune
new file mode 100644
index 0000000000..2ef8eb4d04
--- /dev/null
+++ b/dev/include_dune
@@ -0,0 +1,22 @@
+(* File to include to install the pretty-printers in the ocaml toplevel *)
+
+(* Typical usage :
+
+ $ dune exec coqtop.byte # or even better : rlwrap coqtop.byte
+ Coq < Drop.
+ # #directory "dev";;
+ # #use "include";;
+
+ Alternatively, you can avoid typing #use "include" after each Drop
+ by adding the following lines in your $HOME/.ocamlinit :
+
+ #directory "+compiler-libs";;
+ if Filename.basename Sys.argv.(0) = "coqtop.byte"
+ then ignore (Toploop.use_silently Format.std_formatter "dev/include")
+*)
+
+#cd ".";;
+#use "incdir_dune";;
+#use "base_include";;
+#use "inc_ltac_dune";;
+#use "include_printers";;