English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[camlp4] how to parse/pretty print OCaml source files
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-11-06 (20:40)
From: Jon Harrop <jon@f...>
Subject: Re: [Caml-list] [camlp4] how to parse/pretty print OCaml source files
On Tuesday 06 November 2007 18:14, Stefano Zacchiroli wrote:
> I need to write a simple wrapper around the OCaml top-level. Besides
> executing top-level phrases as usual, the wrapper should "patch" the
> pretty-printing of both input phrases and of top-level output. The kind
> of patching I would need ranges from substituting ascii arts like "->"
> for suitable unicode symbols to reworking abstract syntax trees of OCaml
> values.

I would very much like to provide a replacement OCaml top-level that renders 
to Smoke and allows arbitrary graphical entities (everything from colors to 
geometries) to be visualized interactively from the top-level. Let me know 
how it goes!

Dr Jon D Harrop, Flying Frog Consultancy Ltd.