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: Jacques Garrigue <garrigue@k...>
Subject: Re: [Caml-list] Caml toplevel and readline
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?

No. Gnu-readline is a well-known example of library released under the
GPL, which makes it incompatible with the caml toplevel, which is
covered by the QPL :-)

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.

Cheers
-------------------
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