* [Caml-list] Toplevel with line editor.
@ 2003-10-08 9:30 Mike Potanin
0 siblings, 0 replies; only message in thread
From: Mike Potanin @ 2003-10-08 9:30 UTC (permalink / raw)
To: caml-list
IMHO, to run ocaml toplevel with pipes (like ocaml2) is not a good idea.
This program can't distinguish between toplevel output and user script
output.
For example:
print_string "xxx# "; flush stdout ; ignore (input_line stdin);;
Standard toplevel can not hook line input (Toploop.refill_lexbuf).
I made patch to fix this problem and also I made a simple toplevel which
uses getline lib (based on ocaml2 code).
http://wtk.ru/pm/fp/caml/iocaml.tgz
-------------------
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-10-08 9:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-08 9:30 [Caml-list] Toplevel with line editor Mike Potanin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox