aboutsummaryrefslogtreecommitdiffhomepage
path: root/dev/include
blob: 15725ae8b6160f6626d1170499b41ba359132be6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57

(* File to include to install the pretty-printers in the ocaml toplevel *)

(* Typical usage :

   $ coqtop.byte    # or even better : rlwrap coqtop.byte
   Coq < Drop.
   # #use "include";;

   Alternatively, you can avoid typing #use "include" after each Drop
   by adding the following lines in your $HOME/.ocamlinit :

   if Filename.basename Sys.argv.(0) = "coqtop.byte"
   then ignore (Toploop.use_silently Format.std_formatter "include")
*)

(* For OCaml 3.10.x:
   clflags.cmi (a ocaml compilation by-product) must be in the library path.
   On Debian, install ocaml-compiler-libs, and uncomment the following:
   #directory "+compiler-libs/utils";;
   Clflags.recursive_types := true;;
*)

#cd ".";;
#use "base_include";;

#install_printer  (* pp_stdcmds *) pppp;;

#install_printer  (* pattern *) pppattern;;
#install_printer  (* glob_constr *) ppglob_constr;;

#install_printer  (* constr *) ppconstr;;
#install_printer  (* constr_substituted *) ppsconstr;; 
#install_printer  (* universe *)  ppuni;;
#install_printer  (* universes *)  ppuniverses;;
#install_printer  (* constraints *)  ppconstraints;;
#install_printer  (* type_judgement *) pptype;;
#install_printer  (* judgement *) ppj;;

(*#install_printer  (* hint_db *)  print_hint_db;;*)
(*#install_printer  (* hints_path *)  pphintspath;;*)
#install_printer  (* goal *)  ppgoal;;
(*#install_printer  (* sigma goal *)  ppsigmagoal;;*)
(*#install_printer  (* proof *)  pproof;;*)
#install_printer  (* Goal.goal *)  ppgoalgoal;;
#install_printer  (* metaset.t *) ppmetas;;
#install_printer  (* evar_map *)  ppevm;;
#install_printer  (* ExistentialSet.t *) ppexistentialset;;
#install_printer  (* clenv *) ppclenv;;
#install_printer  (* env *) ppenv;;

#install_printer  (* tactic *) pptac;;
#install_printer  (* object *) ppobj;;
#install_printer  (* global_reference *) ppglobal;;
#install_printer  (* generic_argument *) pp_generic_argument;;

#install_printer  (* fconstr *) ppfconstr;;