[plt-scheme] Student parsing problem

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Tue Jun 2 19:47:09 EDT 2009

Actually, I teach this pattern ... So the rules aren't trivial.


On Jun 2, 2009, at 7:15 PM, David Van Horn wrote:

> Carl Eastlund wrote:
>> I have had students run into the same problem with #; comments,  
>> that a
>> #; before whitespace or another comment could be forgotten.  I think
>> all of the s-expression-eating reader forms should have the "no
>> whitespace/comment" restriction in the student languages.
>
> I frequently use the pattern
>
>    #;
>    (define (f x) ...)
>
> in student language programs.  It preserves the indentation of the  
> definition and this program should be acceptable, IMO.
>
> David



Posted on the users mailing list.