blob: 68d038f0452aced4fd189c53eaa8f5240f2fc40a (
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
|
(***********************************************************************)
(* v * The Coq Proof Assistant / The Coq Development Team *)
(* <O___,, * INRIA-Rocquencourt & LRI-CNRS-Orsay *)
(* \VV/ *************************************************************)
(* // * This file is distributed under the terms of the *)
(* * GNU Lesser General Public License Version 2.1 *)
(***********************************************************************)
(******************************************************************************)
(* *)
(* PROJECT HELM *)
(* *)
(* A module to print Coq objects in XML *)
(* *)
(* Claudio Sacerdoti Coen <sacerdot@cs.unibo.it> *)
(* 07/12/2000 *)
(* *)
(* This module defines a pretty-printer and the stream of commands to the pp *)
(* *)
(******************************************************************************)
(*i $Id$ i*)
(* print id dest *)
(* where id is the identifier (name) of a definition/theorem or of an *)
(* inductive definition *)
(* and dest is either None (for stdout) or (Some filename) *)
(* pretty prints via Xml.pp the object whose identifier is id on dest *)
(* Note: it is printed only (and directly) the most discharged available *)
(* form of the definition (all the parameters are *)
(* lambda-abstracted, but the object can still refer to variables) *)
val print : Libnames.reference -> string option -> unit
(* show dest *)
(* where dest is either None (for stdout) or (Some filename) *)
(* pretty prints via Xml.pp the proof in progress on dest *)
val show : string option -> unit
|