Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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.
http://www.ffconsultancy.com/products/?e