12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273(************************************************************************)(* * The Coq Proof Assistant / The Coq Development Team *)(* v * Copyright INRIA, CNRS and contributors *)(* <O___,, * (see version control and CREDITS file for authors & dates) *)(* VV/ **************************************************************)(* // * This file is distributed under the terms of the *)(* * GNU Lesser General Public License Version 2.1 *)(* * (see LICENSE file for the text of the license) *)(************************************************************************)(************************************************************************)(* SerAPI: Coq interaction protocol with bidirectional serialization *)(************************************************************************)(* Copyright 2016-2019 MINES ParisTech -- License LGPL 2.1+ *)(* Copyright 2019-2023 Inria -- License LGPL 2.1+ *)(* Written by: Emilio J. Gallego Arias and others *)(************************************************************************)openSexplib.StdmoduleNames=Ser_namesmoduleMod_subst=Ser_mod_substmoduleCString=structmodulePred=structincludeCString.Predlett_of_sexp_=CString.Pred.emptyletsexp_of_t_=Sexplib.Sexp.Atom"XXX: CString.Pred.t"endendtype_open_filter=|Unfiltered|FilteredofCString.Pred.t[@@derivingsexp]let_t_putx=Obj.magicxlet_t_getx=Obj.magicxtypeopen_filter=[%import:Libobject.open_filter]letopen_filter_of_sexpx=_t_put(_open_filter_of_sexpx)letsexp_of_open_filterx=sexp_of__open_filter(_t_getx)moduleDyn=structtypet=Libobject.Dyn.tmoduleReified=structtypet=(* | Constant of Internal.Constant.t
* | Inductive of DeclareInd.Internal.inductive_obj *)|TaggedAnonofstring[@@derivingsexp]letto_t(x:Libobject.Dyn.t)=letLibobject.Dyn.Dyn(tag,_)=xinTaggedAnon(Libobject.Dyn.reprtag)endlett_of_sexpx=Serlib_base.opaque_of_sexp~typ:"Libobject.Dyn.t"xletsexp_of_tx=Reified.sexp_of_t(Reified.to_tx)endtypeobj=[%import:Libobject.obj][@@derivingsexp]typealgebraic_objects=[%import:Libobject.algebraic_objects]andt=[%import:Libobject.t]andsubstitutive_objects=[%import:Libobject.substitutive_objects][@@derivingsexp]