* Pretty-printer and tabulation boxes
@ 1997-09-01 15:24 Guillaume LATU - STAGIAIRE A FT.BD/CNET/DTL/MSV
1997-09-02 18:16 ` Pierre Weis
0 siblings, 1 reply; 2+ messages in thread
From: Guillaume LATU - STAGIAIRE A FT.BD/CNET/DTL/MSV @ 1997-09-01 15:24 UTC (permalink / raw)
To: caml-list
Bonjour,
Travaillant `a la r'ealisation d'un pretty-printer en Objective Caml,
je souhaiterais utiliser toutes les possibilit'ees offertes par le
module "Format". Je suis `a la recherche de quelques exemples
d'impl'ementation de pretty-printer mettant en oeuvre -si possible-
les bo^ites de tabulation (c'est `a dire utilisant 'open_tbox' et
'close_tbox').
N.B: je poss`ede la documentation et le manuel utilisateur de "The
Objective Caml system release 1.05".
Merci d'avance.
-----------
Hello,
Working at the realisation in Objective Caml of a Pretty-Printer, I
would like to use all possibilities provided by the "Format"
module. I'm looking for some existing pretty-printer examples. I'm
interesting in finding a few which use the tabulation boxes (i.e
invoking the functions 'open_tbox' and 'close_tbox').
N.B: I already have the documentation and the user's manual of "The
Objective Caml system release 1.05".
Thanks.
--
LATU Guillaume
"Stagiaire au CNET Lannion du 01-06-97 au 28-10-97 a FT.BD/CNET/DTL/MSV
sous la responsabilite de Mr Olivier DUBUISSON "
EMail: latu@lannion.cnet.fr
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Pretty-printer and tabulation boxes
1997-09-01 15:24 Pretty-printer and tabulation boxes Guillaume LATU - STAGIAIRE A FT.BD/CNET/DTL/MSV
@ 1997-09-02 18:16 ` Pierre Weis
0 siblings, 0 replies; 2+ messages in thread
From: Pierre Weis @ 1997-09-02 18:16 UTC (permalink / raw)
To: Guillaume LATU - STAGIAIRE A FT.BD/CNET/DTL/MSV; +Cc: caml-list
> Bonjour,
>
> Travaillant `a la r'ealisation d'un pretty-printer en Objective Caml,
> je souhaiterais utiliser toutes les possibilit'ees offertes par le
> module "Format". Je suis `a la recherche de quelques exemples
> d'impl'ementation de pretty-printer mettant en oeuvre -si possible-
> les bo^ites de tabulation (c'est `a dire utilisant 'open_tbox' et
> 'close_tbox').
Il y a des exemples d'imprimeurs dans la FAQ de caml
(http://pauillac.inria.fr/caml/FAQ/format-fra.html).
Malheureusement, il n'y a pas d'exemples avec les boi^tes de
tabulation. Ces boi^tes ne sont pas destine'es a` l'impression
d'arbres mais a` l'impression simple de structures plus line'aires
(tableaux de chiffres par exemple).
De plus, les boi^tes de tabulation obe'issent a` une logique
diffe'rente des boi^tes d'impression habituelles, avec lesquelles
elles ne doivent pas e^tre me'lange'es. (Autrement dit, le module
format imple'mente ces deux types de boi^tes ``en paralle`le'', sans
donner le moyen de les utiliser simultane'ment).
> -----------
>
> Hello,
>
> Working at the realisation in Objective Caml of a Pretty-Printer, I
> would like to use all possibilities provided by the "Format"
> module. I'm looking for some existing pretty-printer examples. I'm
> interesting in finding a few which use the tabulation boxes (i.e
> invoking the functions 'open_tbox' and 'close_tbox').
There are some examples of regular pretty-printers in the caml FAQ
(http://pauillac.inria.fr/caml/FAQ/format-eng.html).
Unfortunately, there is no examples using tabulation boxes.
Note that these boxes are not suitable to print trees but can be use to print
simpler structures (more linear than trees), for instance integer arrays.
Moreover, the tabulation mechanism is different from regular boxes:
hence you may not mix both kind of boxes in the same program.
(In a sense, the format module provides two distinct implementations
for these two styles of boxes into the same file).
Pierre Weis
INRIA, Projet Cristal, Pierre.Weis@inria.fr, http://pauillac.inria.fr/~weis/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1997-09-02 18:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-09-01 15:24 Pretty-printer and tabulation boxes Guillaume LATU - STAGIAIRE A FT.BD/CNET/DTL/MSV
1997-09-02 18:16 ` Pierre Weis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox