Re: splicing macros

2014-03-20 Thread Andy Wingo
Hi, Top-posting as it's been so long. You know, on second thought I'm hesitant to document this macro. I understood it at one point but it has totally left my head -- I can only remember so many things. It seem to me that the best we can do is probably pointing to Oleg's web page, and leaving i

Fwd: splicing macros

2013-04-29 Thread Stefan Israelsson Tampe
I found the doc, maybe you can take a look! -- Forwarded message -- From: Stefan Israelsson Tampe Date: Fri, Feb 8, 2013 at 9:53 PM Subject: Re: splicing macros To: Andy Wingo Cc: guile-devel Hi, Here is a git-format-patch of some docs for the ck macro. enjoy! On Sun, Jan

Re: splicing macros

2013-02-08 Thread Stefan Israelsson Tampe
Hi, Here is a git-format-patch of some docs for the ck macro. enjoy! On Sun, Jan 27, 2013 at 11:17 AM, Andy Wingo wrote: > On Sat 26 Jan 2013 14:03, Stefan Israelsson Tampe > writes: > >> I will assume that you are familliar with th ck macro, included in >> recent guile releases or else con

Re: splicing macros

2013-01-28 Thread Stefan Israelsson Tampe
Yes, I can add documentation for it. /Stefan On Sun, Jan 27, 2013 at 11:17 AM, Andy Wingo wrote: > On Sat 26 Jan 2013 14:03, Stefan Israelsson Tampe > writes: > >> I will assume that you are familliar with th ck macro, included in >> recent guile releases or else consider looking it up at >> >

Re: splicing macros

2013-01-27 Thread Andy Wingo
On Sat 26 Jan 2013 14:03, Stefan Israelsson Tampe writes: > I will assume that you are familliar with th ck macro, included in > recent guile releases or else consider looking it up at > > http://okmij.org/ftp/Scheme/macros.html It does not seem to be documented in Guile's manual. Want to wr

splicing macros

2013-01-26 Thread Stefan Israelsson Tampe
urns (quote x), x any sexp, it will return x in stead. A better solution might be to introduce a special inhibit macro. Also notice how splicing in already spliced syntaxes works as the example above works. Another thing to note is how we use syntax-local-binding to search find the macro transformer and use that in order to make all this work. Any thoughts? Should we add ck-it to guile's ck.scm? Should we add splicing macros? /Stefan