Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
From: Jonathan Roewen <jonathan.roewen@g...>
Subject: [Caml-list] Toploop behaviour
Hi,

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)?

Jonathan