[plt-scheme] Transforming expanded syntax from the top

From: Casey Klein (clklein at calpoly.edu)
Date: Tue Aug 29 14:56:20 EDT 2006

Thanks for the reply, Kimberley!

On Sun, Aug 27, 2006 at 12:15:05PM -0400, Kimberley Burchett wrote:
> Hi Casey,
> 
> I've managed to exactly this, for my own project.  It's not especially
> straightforward.
> 
> First, if you want your modules to be able to define new macros, then
> you need to do the expansion in phases instead of all at once.

I think I'm running into this problem, but I'd like to confirm that
we're on the same page.

The module which I'm (local-)expanding requires "class.ss," for the
`class*' macro; applications of this macro generate "bad syntax"
errors, and it looks like they're being expanded into 
"(#%app class* ...)".

Do I need to expand in phases, as you described?

-Casey


Posted on the users mailing list.