[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Please explain different macros
From: |
Dale P. Smith |
Subject: |
Re: Please explain different macros |
Date: |
Fri, 20 Apr 2001 16:41:16 -0400 |
Marius Vollmer wrote:
>
> "Dale P. Smith" <address@hidden> writes:
>
> > > If you do not have a very special reason to use one of the
> > > `procedure->...' functions, you should avoid them. Use `defmacro',
> > > `define-macro' or `define-syntax' instead.
> >
> > I just grabbed the docs for those because they were almost identical.
> >
> > So: defmacro is acro, define-macro is macro, define-syntax is mmacro ?
>
> No, no, no. defmacro and define-macro are both mmacro, and
> define-syntax is something that I'm not too sure about, working via
> the system transformer. define-syntax gives you hygienic macros,
> which need more magic to be implemented correctly. See R5RS for a
> description of define-syntax.
That's the only scheme macros I'm familiar with. They are very slow
though.
> My point was that you should avoid using the `procedure->...' forms
> since they are very specific to the current implementation of the
> Scheme interpreter in Guile. Compilers such as Hobbit or Keisukes VM
> will not like them.
Ok. I'm just trying to figure out how some of this works. The
documentation on the guile specifc macros is very sparse.
Thanks for your help!
-Dale
--
Dale P. Smith
Treasurer, Cleveland Linux Users Group http://cleveland.lug.net
Senior Systems Consultant, Altus Technologies Corporation
address@hidden
440-746-9000 x309
- Please explain different macros, Dale P. Smith, 2001/04/19
- Re: Please explain different macros, Marius Vollmer, 2001/04/20
- Re: Please explain different macros, Dale P. Smith, 2001/04/20
- Re: Please explain different macros, Marius Vollmer, 2001/04/20
- Re: Please explain different macros,
Dale P. Smith <=
- Re: Please explain different macros, Neil Jerram, 2001/04/21
- Re: Please explain different macros, Marius Vollmer, 2001/04/21
- Re: Please explain different macros, Neil Jerram, 2001/04/22
- Re: Please explain different macros, Michael Livshin, 2001/04/22
- Re: Please explain different macros, Neil Jerram, 2001/04/22
- Re: Please explain different macros, Michael Livshin, 2001/04/22
- Re: Please explain different macros, Neil Jerram, 2001/04/23
- Re: Please explain different macros, Bonard B. Timmons III, 2001/04/23
- Re: Please explain different macros, Rob Browning, 2001/04/25
- Re: Please explain different macros, Keith Wright, 2001/04/25