[plt-scheme] introspection

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Fri Oct 26 10:43:41 EDT 2007

On Oct 26, 2007, at 10:37 AM, Rohan Nicholls wrote:

> Okay, but if I am not working in Dr. Scheme, I guess the question is
> how is Dr. Scheme accessing this information.  Does it have a whole
> parsing system set up to find the referenced functions, following
> require statements etc.?
> The reason I am wondering is that the interpreter is already doing
> this work, so it does not seem like such a good idea to be reinventing
> the wheel, as I will probably do it badly, unless of course that is
> what Dr. Scheme has been doing, so there is really no choice.

DrScheme re-uses a part of the interpreter to get this information.
(It calls the expander and chases down the requires.)

-- Matthias

Posted on the users mailing list.