[gambit-list] Your changes to treatment of (begin)
Bradley Lucier
lucier at math.purdue.edu
Thu Dec 4 23:27:08 EST 2008
On Dec 4, 2008, at 10:38 PM, Marc Feeley wrote:
> On 4-Dec-08, at 8:54 PM, Bradley Lucier wrote:
>
>> An empty (begin) is not valid r5rs syntax, yet it's now accepted
>> by both the interpreter and the compiler.
>
> Did you try it?
Well, yes, actually I did.
> Empty begins are illegal in expression context (as in the example
> above) and valid in "command" context as in this example:
Sorry, I missed the syntax expansion
<definition> =>
(begin <definition>*)
<other things here>
and this is what I tried. It's been a hard day ...
Brad
More information about the Gambit-list
mailing list