Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Caml toplevel and readline
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Brian Rogoff <bpr@b...>
Subject: Re: [Caml-list] Caml toplevel and readline
On Thu, 14 Jun 2001, Jacques Garrigue wrote:
> From: John Max Skaller <skaller@ozemail.com.au>
> > I find the ocaml top level 'ocaml' very clumbsy to use,
> > compared with, say, Python's top level, because it
> > doesn't understand line editing. Any chance of optionally
> > building it with gnu_readline?
> 
> But there are plenty of external alternatives: using emacs, using
> ocamlbrowser's shell, using ledit.
> ledit is a tool written in camlp4 by Daniel de Raglaudre
> which allows line editing on any program.
>   http://cristal.inria.fr/~ddr/index-english.html
> Linking the editing code of ledit with the toplevel might also be an
> option.

There's also ILE, which is available at one of the OCaml sites. I used to
use ILE, but then I switched to ledit, since I'd like to have an "as much
OCaml as possible" tool chain. But ile is pretty good, and may even be 
on your *nix system already.

-- Brian


-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr