guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is gentemp or gensym "safe"?


From: Keisuke Nishida
Subject: Re: Is gentemp or gensym "safe"?
Date: Wed, 25 Apr 2001 17:26:53 -0400
User-agent: Wanderlust/2.4.0 (Rio) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) Emacs/21.0.102 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI)

At Wed, 25 Apr 2001 12:06:02 -0400,
Dale P. Smith <address@hidden> wrote:
> 
> > I'd rather we figured a way to make the hygienic macro stuff fast
> > enough...
> 
> Yes Please!  How do other Schemes do it?  Will using the new vm on the
> current implementatin help?

Just releasing pre-expanded code might help:

  guile> (use-modules (ice-9 syncase))
  guile> (sc-expand '(define-syntax foo (syntax-rules () ((_ x) (+ x x)))))
  (void)
  guile> (sc-expand '(foo x))
  (+ x x)

One problem with the current syntax-case implementation is
that it loses original variable names and source properties.
This makes debugging a little bit hard.

Keisuke



reply via email to

[Prev in Thread] Current Thread [Next in Thread]