OCamlPro / ocaml-top

A simple cross-platform OCaml code editor built for top-level evaluation.
http://typerex.org/ocaml-top.html
GNU General Public License v3.0
64 stars 8 forks source link

Rendering "output" in REPL window #47

Closed ranjitjhala closed 10 years ago

ranjitjhala commented 10 years ago

I am aware of the issues with supporting input (e.g. read_int #45), but does the same problem arise when supporting output (e.g. print_int or print_string) ? It would be really nice to have those since beginners may want to do some "printf"-style debugging.

AltGr commented 10 years ago

These should work -- indeed they will even be separated from ocaml output and shown in a different color. Remember to flush though.

ranjitjhala commented 10 years ago

Thanks!