[antlr-interest] GC in C++?

Loring Craymer Loring.G.Craymer at jpl.nasa.gov
Thu Apr 21 01:41:36 PDT 2005


Boehm's garbage collector (http://www.hpl.hp.com/personal/Hans_Boehm/gc/)
has been around for a while and should have the kinks worked out of it.
Playing nice with ANTLR should be mostly a matter of adapting the library to
remove the reference counters and introduce custom allocators and maybe some
modification of the codegen.

BTW, this sounds like an excellent approach to make C++ generated code more
amenable to debugging--the RefAST and RefToken stuff is an annoyance in
debugging.

--Loring

> -----Original Message-----
> From: antlr-interest-bounces at antlr.org [mailto:antlr-interest-
> bounces at antlr.org] On Behalf Of Bryan Ewbank
> Sent: Thursday, April 21, 2005 1:13 AM
> To: ANTLR Interest
> Subject: [antlr-interest] GC in C++?
> 
> Can anyone recommend a good garbage collection package that will play
> well with ANTLR's C++ generated code?
> 
> Thanks,
> - Bryan Ewbank



More information about the antlr-interest mailing list