From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 445C5BC6B for ; Wed, 7 Nov 2007 09:36:09 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAI4HMUfAXQImh2dsb2JhbACOfgEICik X-IronPort-AV: E=Sophos;i="4.21,382,1188770400"; d="scan'208";a="4137818" Received: from discorde.inria.fr ([192.93.2.38]) by mail1-smtp-roc.national.inria.fr with ESMTP; 07 Nov 2007 09:36:09 +0100 Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id lA78a3uB026580 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Wed, 7 Nov 2007 09:36:08 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAADYIMUfBAkMtnWdsb2JhbACOfgEBCw8I X-IronPort-AV: E=Sophos;i="4.21,382,1188770400"; d="scan'208";a="5534345" Received: from vega.fmf.uni-lj.si (HELO postar.fmf.uni-lj.si) ([193.2.67.45]) by mail3-smtp-sop.national.inria.fr with ESMTP; 07 Nov 2007 09:36:08 +0100 Received: from localhost (unknown [192.168.5.1]) by postar.fmf.uni-lj.si (Postfix) with ESMTP id 87F641C97C8 for ; Wed, 7 Nov 2007 09:36:07 +0100 (CET) X-Virus-Scanned: amavisd-new at spam.fmf.uni-lj.si Received: from postar.fmf.uni-lj.si ([192.168.5.5]) by localhost (spam.fmf.uni-lj.si [192.168.5.1]) (amavisd-new, port 10024) with ESMTP id Wk6z0n1Npt+I for ; Wed, 7 Nov 2007 09:36:05 +0100 (CET) Received: from [193.2.67.88] (unknown [193.2.67.88]) by postar.fmf.uni-lj.si (Postfix) with ESMTP id 2D5F81C989B for ; Wed, 7 Nov 2007 09:36:01 +0100 (CET) Message-ID: <473179DB.9040609@fmf.uni-lj.si> Date: Wed, 07 Nov 2007 09:39:55 +0100 From: Andrej Bauer Reply-To: Andrej.Bauer@andrej.com User-Agent: Thunderbird 2.0.0.6 (X11/20071022) MIME-Version: 1.0 To: Caml Subject: Re: [Caml-list] [camlp4] how to parse/pretty print OCaml source files References: <20071106181431.GA19764@takhisis.invalid> <200711062031.14376.jon@ffconsultancy.com> In-Reply-To: <200711062031.14376.jon@ffconsultancy.com> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Miltered: at discorde with ID 473178F3.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; andrej:01 andrej:01 camlp:01 ocaml:01 ocaml:01 renders:01 toplevel:01 steroids:01 toplevels:01 wrappers:01 toplevel:01 smoke:98 polymorphic:01 polymorphic:01 wrote:01 Jon Harrop wrote: > 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! I join to the crowd of people who would very much like to have a toplevel on steroids, with line editing, graphics, facilities for pretty-printing everything (including polymorphic types, right now there is no way to install a pretty printer for a polymorphic type). Even better, there should be a library that allows one to construct custom toplevels. I would be willing to join the effort. It's just silly that people are writing wrappers around the current toplevel. Andrej