This is the mail archive of the
guile@sources.redhat.com
mailing list for the Guile project.
Re: compiling syntax and macro
- To: Keisuke Nishida <kxn30 at po dot cwru dot edu>
- Subject: Re: compiling syntax and macro
- From: Mikael Djurfeldt <mdj at mdj dot nada dot kth dot se>
- Date: 01 Aug 2000 21:20:15 +0200
- Cc: djurfeldt at nada dot kth dot se, guile at sourceware dot cygnus dot com
- Cc: djurfeldt at nada dot kth dot se
- References: <m3ya2in785.fsf@indy.STUDENT.CWRU.Edu><xy7u2d644hw.fsf@mdj.nada.kth.se><m37la19zce.fsf@indy.STUDENT.CWRU.Edu>
- Reply-To: djurfeldt at nada dot kth dot se
Keisuke Nishida <kxn30@po.cwru.edu> writes:
> Mikael Djurfeldt <mdj@mdj.nada.kth.se> writes:
>
> > The long-term plan is to move from the current macro system to
> > syntax-case macros (a superset of the R5RS macros).
> >
> > http://www.cs.indiana.edu/~dyb/papers/syntactic.ps.gz
> >
> > Such macros are expanded at compilation time.
> >
> > They will not be objects.
> >
> > We already have an implementation of such a macro system in the module
> > (ice-9 syncase).
>
> Hmm, it seems the procedure syncase does everything what I want.
> All I have to do is just to compile the output of syncase. How nice.
>
> So the rest of the major tasks about compiling is module support.
> Is the new module system supporting syncase, too? If so, all I need
> to care is the top-level environment. I suppose there is a version
> already. May I copy it for my VM? I guess supporting the top-level
> environments is quite easy - just to fix a few functions. I've already
> designed the VM so to use it.
I think you should design for the current module system since the new
one might take a while. Syntax-case is here to stay. It will be
supported in the future.
Is there any information you need on this to proceed?