Skip to Content.
Sympa Menu

coq-club - [Coq-Club] Turning off Pretty Printing

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] Turning off Pretty Printing


chronological Thread 
  • From: Olivier Boite <boite AT iie.cnam.fr>
  • To: Hugo Herbelin <hugo.herbelin AT inria.fr>
  • Cc: coq-club AT pauillac.inria.fr
  • Subject: [Coq-Club] Turning off Pretty Printing
  • Date: Mon, 22 Sep 2003 17:02:18 +0200
  • List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>

We're actually working on a tactic requiring the exact definition stored in
the coq environment. In particular, we would like to disactivate the
pretty printing feature so that no syntactic replacement is performed. In
fact, we are not directly working on the internal representation provided by
coq but are using the Pp module to obtain the definition.(which will
afterwards be treated by an external lexer and parser).

For instance,  with ZArith,  the term   `x <= x`   should be printed   (Zle x
x).

We would like to know whether this is possible or is there any function
already implemented that can return any particular definition
as a string , without considering printing rules  "Syntax constr level 0: ..."
added at toplevel ?
Thanks,
JF Etienne, O. Boite







Archive powered by MhonArc 2.6.16.

Top of Page