<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial; font-size: 12pt; color: #000000'>Plt seems to accept `(a,b'c) as legal r6rs and gives you (a 4 (quote c)) <br>assuming b is defined to be 4 as in the previous message.<br><br>On the other hand I have just now built ikarus and see that it rejects the <br>expression as having an ill-formed identifier.<br><br>My initial reading of the the standard is that ikarus is right to reject the <br>expression and plt is wrong to accept it. <br><br>But I'm kind of a scheme newbie (just trying to be portable) so I'm not sure. <br><br>Jon<br><br><br>On Sunday 28 June 2009 11:10:19 am Jos Koot wrote:<br>> I think 4.2.1 Formal account excludes quotes and commas from identifiers<br>> (except when escaped, of course) They are listed as seperate lexemes.<br>> Jos<br>><br>> ----- Original Message -----<br>> From: "Jon Stenerson" <jonstenerson@comcast.net><br>> To: "Abdulaziz Ghuloum" <aghuloum@gmail.com><br>> Cc: <plt-scheme@list.cs.brown.edu><br>> Sent: Sunday, June 28, 2009 5:29 PM<br>> Subject: Re: [plt-scheme] Does `(a,b'c) follow r6rs formal grammar?<br>><br>> > Then is it a bug in plt scheme that this is accepted?<br>> ><br>> > #!r6rs<br>> > (import (rnrs))<br>> > (define b 4)<br>> > (display `(a,b'c))<br>> ><br>> > Using drscheme, the module language, and entering above into definitions<br>> > window.<br>> ><br>> > On Sunday 28 June 2009 02:06:59 am Abdulaziz Ghuloum wrote:<br>> >> On Jun 27, 2009, at 8:36 PM, Jon Stenerson wrote:<br>> >> > Is the expression `(a,b'c) lexically valid according to r6rs? It says<br>> >> > (section 4.2) that identifiers must be terminated by a delimiter or<br>> >> > end of<br>> >> > input, but this is not true for the identifiers a and b since<br>> >> > neither the<br>> >> > comma nor quote are listed as delimiters.<br>> >><br>> >> You gave the question and the answer.<br>> >><br>> >> Aziz,,,<br>> ><br></div></body></html>