Browse thread
[Caml-list] Readline support in the toplevel loop
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Xavier Leroy <xavier.leroy@i...> |
| Subject: | Re: [Caml-list] Readline support in the toplevel loop |
> Is it possible to have readline support in the toplevel loop of O'Caml > so that you can press the up key to recall something you already wrote, > and go back to edit other things. Is it possible? I considered it, but there are several issues. One of them is that readline is GPL, thus linking it with the Caml toplevel could cause license incompatibility issues. Another issue is portability to platfroms that do not have readline: the line reading and prompt handling logic is quite different between readline and just reading from standard input. All in all, I believe using an external line editor such as Ledit, CLE, FEP, ILE, etc, is a lot simpler and more flexible. - Xavier Leroy ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners