English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] Toploop behaviour
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2006-09-14 (11:57)
From: Jonathan Roewen <jonathan.roewen@g...>
Subject: [Caml-list] Toploop behaviour

I'm using the toplevel, using Toploop.loop, which takes a
Format.formatter object.

The only problem is that it doesn't use it for all printing! E.g.
parts of error messages, the warning messages and what not get printed
on stdout/stderr irrespective of the formatter supplied. This even
includes the prompt... =/

Is it possible for this to be fixed in later versions? Or is it
because of the inner workings of the compiler parts themselves that
these can't use the formatter (at least not without probably
significant restructuring for very little benefit)?