Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] A few questions regarding the compiler
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Marcin 'Qrczak' Kowalczyk <qrczak@k...>
Subject: Re: [Caml-list] A few questions regarding the compiler
Wed, 14 Nov 2001 14:47:13 +0000 (UTC), Marcin 'Qrczak' Kowalczyk <qrczak@knm.org.pl> pisze:

> I'll now try to do it myself basing on backtrace.c, but I don't
> understand yet how it works.

Why all interesting things are private again? :-(

Yes, it works, but it required copying parts of various .h files
(they are not installed by default). Fortunately it's C and not OCaml
so names exported from any module can be accessed.

E.g. I had to copy the 'instructions' type to obtain the values of
RAISE and RERAISE. I don't think it's very stable across releases.
It makes the whole solution more version-dependent than necessary
and so ugly that I'm not sure it's worth doing.

-- 
 __("<  Marcin Kowalczyk * qrczak@knm.org.pl http://qrczak.ids.net.pl/
 \__/
  ^^
QRCZAK

-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr