Browse thread
colorized output of ocaml interactive shell
-
David MENTRE
- Olivier Grisel
-
Igor Pechtchanski
-
Eric Cooper
- Titus Brown
-
Eric Cooper
[
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: | Titus Brown <titus@c...> |
| Subject: | Re: [Caml-list] colorized output of ocaml interactive shell |
-> > > Hello, -> > > -> > > I will do a presentation on OCaml soon. I would like to show some -> > > example of interactive sessions in the OCaml interactive environment, -> > > ocaml launched in an XTerm. Does anybody know a program/shell -> > > script/whatever that can produce a nice colorized output (e.g. types)? -> > > Any advice? -> > -> > You could try using the VIm syntax highlighting mode. You can pipe text -> > into VIm -- see $VIM/macros/less.sh. -> -> Or you can run an OCaml subshell in Emacs, and get its colorizing. Or... http://www.gnu.org/software/src-highlite/source-highlight.html It only has a CAML mode, but that should be sufficient, no? --titus