[gclist] debugging GCs with a tiny language

STARYNKEVITCH Basile Basile.Starynkevitch@cea.fr
Wed, 28 Jul 1999 16:35:11 +0200 (MET DST)


Hello all,

I just ended coding my literate-programmed precise (mostly
generational copying) garbage collector for/in C++. It does run ok on
trivial examples. And coding in a literate program way (using
N.Ramsey's noweb) was very helpful.

(FWIW, my application is an European ESPRIT project for static code
analysis -with testing in mind- using abstract interpretation
techniques)

I would like to embed a small interpreter (or bytecode virtual
machine) to use my GC and test the applications. But, after looking at
several embeddable languages implementations (such as Lua, several
Schemes -vscm, guile, scm, siod-, python, Ocaml, ...) I didn't found
any interpreter into which plugging my own GC is easily doable.

If any one have some pointers, I would be grateful.

(BTW, I hate C++, and would prefer to code in Ocaml, but failed to
convince my management to do so [ie switch to Ocaml or some other good
language], so lost a pair of months coding a GC in C++).


N.B. Any opinions expressed here are only mine, and not of my organization.
N.B. Les opinions exprimees ici me sont personnelles et n engagent pas le CEA.

---------------------------------------------------------------------
Basile STARYNKEVITCH   ----  Commissariat à l Energie Atomique 
DTA/LETI/DEIN/SLA * CEA/Saclay b.528 (p111f) * 91191 GIF/YVETTE CEDEX * France
phone: 1,69.08.60.55; fax: 1.69.08.83.95 home: 1,46.65.45.53
email: Basile point Starynkevitch at cea point fr