Re: Fwd: Comments on draft #3

2020-05-03 Thread John Cowan
The behavior of a macro keyword in operand position is not affected by the patch. On Sun, May 3, 2020 at 1:04 PM Peter Bex wrote: > On Sun, May 03, 2020 at 12:55:40PM -0400, John Cowan wrote: > > This is the first of two patches that allow macros to be expanded when > they > > appear in operand

Re: Fwd: Comments on draft #3

2020-05-03 Thread Peter Bex
On Sun, May 03, 2020 at 12:55:40PM -0400, John Cowan wrote: > This is the first of two patches that allow macros to be expanded when they > appear in operand position, so that if pi is a macro for 3.14159, then (+ 5 > pi) will be expanded to (+ 5 3.14159). This allows macros that work like > proce

Fwd: Comments on draft #3

2020-05-03 Thread John Cowan
This is the second of two patches that allow macros to be expanded when they appear in operand position. It allows a syntax-rules pattern to be a single variable rather than a list; this rule will be used when the macro keyword is in operand position. -- Forwarded message - From:

Fwd: Comments on draft #3

2020-05-03 Thread John Cowan
This is the first of two patches that allow macros to be expanded when they appear in operand position, so that if pi is a macro for 3.14159, then (+ 5 pi) will be expanded to (+ 5 3.14159). This allows macros that work like procedures in the sense that they can be passed as operands. This patch