From 318fc2c04df1e73cc8a178d4fc1ce8bf5543649b Mon Sep 17 00:00:00 2001 From: Emilio Jesus Gallego Arias Date: Wed, 1 Jun 2016 17:06:25 +0200 Subject: Move ide serialization libraries from lib/ to ide/ This makes the core free from particular protocol choices. It should help with the ppx serialization project and shrinks clib.cma a bit. --- printing/printing.mllib | 1 - printing/richprinter.ml | 24 ------------------------ printing/richprinter.mli | 36 ------------------------------------ 3 files changed, 61 deletions(-) delete mode 100644 printing/richprinter.ml delete mode 100644 printing/richprinter.mli (limited to 'printing') diff --git a/printing/printing.mllib b/printing/printing.mllib index 652a34fa1f..52102e1d3b 100644 --- a/printing/printing.mllib +++ b/printing/printing.mllib @@ -10,4 +10,3 @@ Printmod Prettyp Ppvernac Ppvernacsig -Richprinter diff --git a/printing/richprinter.ml b/printing/richprinter.ml deleted file mode 100644 index 5f39f36eab..0000000000 --- a/printing/richprinter.ml +++ /dev/null @@ -1,24 +0,0 @@ -open Richpp - -module RichppConstr = Ppconstr.Richpp -module RichppVernac = Ppvernac.Richpp -module RichppTactic = Pptactic.Richpp - -type rich_pp = - Ppannotation.t Richpp.located Xml_datatype.gxml - * Xml_datatype.xml - -let get_annotations obj = Pp.Tag.prj obj Ppannotation.tag - -let make_richpp pr ast = - let rich_pp = - rich_pp get_annotations (pr ast) - in - let xml = Ppannotation.( - xml_of_rich_pp tag_of_annotation attributes_of_annotation rich_pp - ) - in - (rich_pp, xml) - -let richpp_vernac = make_richpp RichppVernac.pr_vernac -let richpp_constr = make_richpp RichppConstr.pr_constr_expr diff --git a/printing/richprinter.mli b/printing/richprinter.mli deleted file mode 100644 index c9e84e3eb4..0000000000 --- a/printing/richprinter.mli +++ /dev/null @@ -1,36 +0,0 @@ -(************************************************************************) -(* v * The Coq Proof Assistant / The Coq Development Team *) -(* rich_pp - -(** [richpp_constr constr] produces a rich pretty-printing of [constr]. *) -val richpp_constr : Constrexpr.constr_expr -> rich_pp -- cgit v1.2.3