Re: [Chicken-users] Re: Explicit Renaming Macros Help/Tutorial?

2009-06-11 Thread Jack Trades
On Tue, Jun 9, 2009 at 10:12 PM, Jim Ursetto zbignie...@gmail.com wrote: It's because you're testing the head of args against the symbol 'ef, which will fail because the actual symbol is now 't-ef. Thanks that makes sense. It is uncommon to test against the macro's name, but we can do it

Re: [Chicken-users] Re: Explicit Renaming Macros Help/Tutorial?

2009-06-11 Thread Jim Ursetto
On Thu, Jun 11, 2009 at 5:17 PM, Jack Tradesjacktradespub...@gmail.com wrote: It is uncommon to test against the macro's name, but we can do it by using the compare procedure against the renamed 'ef identifier. So the purpose of the compare procedure is to compare renamed identifiers? Note

Re: [Chicken-users] Re: Explicit Renaming Macros Help/Tutorial?

2009-06-10 Thread felix winkelmann
On Tue, Jun 9, 2009 at 5:16 PM, Juergen Lorenzj...@jugilo.de wrote: Here is a mini tutorial of explicit renaming for all who are interested in it: Excellent description. This should definitely go into the wiki. Thanks, Jürgen - well done! cheers, felix

[Chicken-users] Re: Explicit Renaming Macros Help/Tutorial?

2009-06-09 Thread Jack Trades
Thanks again for your help, I think I finally understand er-macros, at least a little. A couple more questions. I was playing with a macro that extends the syntax of if. This macro works fine on its own and also if I import the module with no prefix. However I get an error if I try to import

Re: [Chicken-users] Re: Explicit Renaming Macros Help/Tutorial?

2009-06-09 Thread Jack Trades
Thanks, that helps quite a bit. Jack Trades On Tue, Jun 9, 2009 at 11:16 AM, Juergen Lorenz j...@jugilo.de wrote: Here is a mini tutorial of explicit renaming for all who are interested in it: Mini-tutorial on explicit renaming macros in Chicken

Re: [Chicken-users] Re: Explicit Renaming Macros Help/Tutorial?

2009-06-09 Thread Jim Ursetto
2009/6/9 Jack Trades jacktradespub...@gmail.com: A couple more questions.  I was playing with a macro that extends the syntax of if.  This macro works fine on its own and also if I import the module with no prefix.  However I get an error if I try to import the module with a prefix. It's

[Chicken-users] Re: Explicit Renaming Macros Help/Tutorial?

2009-06-08 Thread felix
Jack Trades jacktradespublic at gmail.com writes: I'm revisiting a problem I had a few months ago when developing a DSL and it was suggested that explicit renaming macros would be the easiest solution.  However after reading everything macro-related I could find on the web I'm still nowhere. 

Re: [Chicken-users] Re: Explicit Renaming Macros Help/Tutorial?

2009-06-08 Thread Jack Trades
On Mon, Jun 8, 2009 at 6:34 AM, felix bunny...@gmail.com wrote: Jack Trades jacktradespublic at gmail.com writes: I'm revisiting a problem I had a few months ago when developing a DSL and it was suggested that explicit renaming macros would be the easiest solution. However after reading