[plt-scheme] Where is macroexpand in PLT Scheme?

From: Bill Clementson (bill_clementson at yahoo.com)
Date: Wed Nov 12 11:15:23 EST 2003

--- Robby Findler <robby at cs.uchicago.edu> wrote:
> At Tue, 11 Nov 2003 20:27:28 -0800 (PST), Bill
> Clementson wrote:
> > However, look at the first syntax object - it has
> colorer.ss as the
> > source. That doesn't make sense to me. Why is
> colorer.ss the source
> > file for "require"?
> 
> The source is not colorer.ss. The source is an
> editor object -- see the
> struct:object: at the beginning and the #<> around
> the whole thing? The
> filename in there is the (best approximation to the)
> source location of
> the class that was instantiated to create the editor
> object.
> 
> Text in the definitions window has its source
> location is the editor
> object (ie an instance of a class derived from
> text%), not a filename.
> This is the hook that allows drscheme to color
> errors and do other
> things (like check syntax, etc etc)

I can understand why colorer.ss is being shown as the
Source; however, I guess it just seems strange to me
that it is so. 

--
Bill Clementson

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree


Posted on the users mailing list.