~ubuntu-branches/ubuntu/wily/coq-doc/wily

« back to all changes in this revision

Viewing changes to toplevel/vernac.mli

  • Committer: Bazaar Package Importer
  • Author(s): Stéphane Glondu, Stéphane Glondu, Samuel Mimram
  • Date: 2010-01-07 22:50:39 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100107225039-n3cq82589u0qt0s2
Tags: 8.2pl1-1
[ Stéphane Glondu ]
* New upstream release (Closes: #563669)
  - remove patches
* Packaging overhaul:
  - use git, advertise it in Vcs-* fields of debian/control
  - use debhelper 7 and dh with override
  - use source format 3.0 (quilt)
* debian/control:
  - set Maintainer to d-o-m, set Uploaders to Sam and myself
  - add Homepage field
  - bump Standards-Version to 3.8.3
* Register PDF documentation into doc-base
* Add debian/watch
* Update debian/copyright

[ Samuel Mimram ]
* Change coq-doc's description to mention that it provides documentation in
  pdf format, not postscript, closes: #543545.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
(************************************************************************)
 
2
(*  v      *   The Coq Proof Assistant  /  The Coq Development Team     *)
 
3
(* <O___,, * CNRS-Ecole Polytechnique-INRIA Futurs-Universite Paris Sud *)
 
4
(*   \VV/  **************************************************************)
 
5
(*    //   *      This file is distributed under the terms of the       *)
 
6
(*         *       GNU Lesser General Public License Version 2.1        *)
 
7
(************************************************************************)
 
8
 
 
9
(*i $Id: vernac.mli 5920 2004-07-16 20:01:26Z herbelin $ i*)
 
10
 
 
11
(* Parsing of vernacular. *)
 
12
 
 
13
(* Read a vernac command on the specified input (parse only).
 
14
   Raises [End_of_file] if EOF (or Ctrl-D) is reached. *)
 
15
 
 
16
val parse_phrase : Pcoq.Gram.parsable * in_channel option ->
 
17
  Util.loc * Vernacexpr.vernac_expr
 
18
 
 
19
(* Reads and executes vernac commands from a stream.
 
20
   The boolean [just_parsing] disables interpretation of commands. *)
 
21
 
 
22
exception DuringCommandInterp of Util.loc * exn
 
23
exception End_of_input
 
24
 
 
25
val just_parsing : bool ref
 
26
val raw_do_vernac : Pcoq.Gram.parsable -> unit
 
27
 
 
28
(* Set XML hooks *)
 
29
val set_xml_start_library : (unit -> unit) -> unit
 
30
val set_xml_end_library   : (unit -> unit) -> unit
 
31
 
 
32
(* Load a vernac file, verbosely or not. Errors are annotated with file
 
33
   and location *)
 
34
 
 
35
val load_vernac : bool -> string -> unit
 
36
 
 
37
 
 
38
(* Compile a vernac file, verbosely or not (f is assumed without .v suffix) *)
 
39
 
 
40
val compile : bool -> string -> unit
 
41
 
 
42
(* Interpret a vernac AST *)
 
43
 
 
44
val vernac_com : 
 
45
  (Vernacexpr.vernac_expr -> unit) ->
 
46
  Util.loc * Vernacexpr.vernac_expr -> unit