[DGD] reflective programming under DGD

Felix A. Croes felix at dworkin.nl
Wed Jun 20 17:01:44 CEST 2007


Carter Cheng <carter_cheng at yahoo.com> wrote:

> I have been wondering if it is possible to do
> reflective programming under DGD? I figure this sort
> of thing could be quite powerful in perhaps helping to
> implement certain features like an incremental
> (object) garbage collector provided i had access to
> the variable list and the types of the variables and a
> way to reflectively load them.  

DGD does not support this directly.  What you could do is write your
own LPC-to-LPC compiler (others have done this, though typically as
a LPCish-to-LPC compiler) that preserves the information you need
for reflection.

Regards,
Dworkin



More information about the DGD mailing list