Re: Syntax Parameters documentation for guile

2012-01-08 Thread Andy Wingo
On Sun 08 Jan 2012 03:39, Ian Price writes: > From b7d764179d5546698617993e5a648d6c1393b5c0 Mon Sep 17 00:00:00 2001 > From: Ian Price > Date: Sat, 7 Jan 2012 01:59:33 + > Subject: [PATCH] document syntax parameters > > * doc/ref/api-macros.texi (Macros): Add subsection for "Syntax Parameter

Re: Syntax Parameters documentation for guile

2012-01-07 Thread Ian Price
Andy Wingo writes: > On Sat 07 Jan 2012 18:37, Ian Price writes: > >> slight mistake in the last one, So I've sent another patch > > Sorry for being an idiot, but I'm not able to download this one. Can > you send it again as a plaintext attachment? I thought I had, but it looks like I'd made a

Re: Syntax Parameters documentation for guile

2012-01-07 Thread Andy Wingo
On Sat 07 Jan 2012 18:37, Ian Price writes: > slight mistake in the last one, So I've sent another patch Sorry for being an idiot, but I'm not able to download this one. Can you send it again as a plaintext attachment? Andy -- http://wingolog.org/

Re: Syntax Parameters documentation for guile

2012-01-07 Thread Ian Price
slight mistake in the last one, So I've sent another patch <<< message/external-body; name*=us-ascii''~%2fsrc%2fguile%2f0001-document-syntax-parameters.patch; access-type=local-file: Unrecognized >>>

Re: Syntax Parameters documentation for guile

2012-01-06 Thread Eli Barzilay
8 hours ago, Andy Wingo wrote: > On Wed 04 Jan 2012 01:33, Eli Barzilay writes: > > > (Ugh, medieval programming...) > > Goes along with the "guild" stuff, I guess :) (That was a scribble hint...) -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:

Re: Syntax Parameters documentation for guile

2012-01-06 Thread Ian Price
Andy Wingo writes: > I have pushed a couple commits to Guile that provide > define-syntax-parameter and syntax-parameterize on the stable-2.0 > branch, in addition to the support that was already there on master. Excellent > Ian, just edit doc/ref/api-macros.texi. You don't need to know very >

Re: Syntax Parameters documentation for guile

2012-01-06 Thread Andy Wingo
Hi Ian, Thanks for writing these docs, and thanks to Eli for commenting on them. I have pushed a couple commits to Guile that provide define-syntax-parameter and syntax-parameterize on the stable-2.0 branch, in addition to the support that was already there on master. Unlike the implementation o

Re: Syntax Parameters documentation for guile

2012-01-03 Thread Eli Barzilay
An hour and a half ago, Ian Price wrote: > Eli Barzilay writes: > > >> the macro is used. Examples include an 'if' form that binds the > >> result of the test to an 'it' binding, or class macros that > >> introduce a special 'self' binding. > > > > The `abort' example is also popular, probably ev

Re: Syntax Parameters documentation for guile

2012-01-03 Thread Ian Price
Eli Barzilay writes: >> Syntax parameters[fn:1] are a mechanism for rebinding a macro >> definition within the dynamic extent of a macro expansion. It >> provides a convenient solution to one of the most common types of >> unhygienic macro: those that introduce a special binding each time > > I'd

Re: Syntax Parameters documentation for guile

2011-12-30 Thread Eli Barzilay
More than a week ago, Ian Price wrote: > > Eli, > I'd especially appreciate it if you could clear up any misconceptions I > may have, or may be unintentionally imparting on others. (And that I'm kind of on the list I can reply...) > * Syntax Parameters > > Syntax parameters[fn:1] are a mechanis