[plt-scheme] Student parsing problem
On Jun 3, John Clements wrote:
>
> On Jun 3, 2009, at 8:40 AM, Eli Barzilay wrote:
> > and it works with multiple expressions too:
> >
> > (define (foo x)
> > ;#;#;
> > (printf "foo\n")
> > (printf " x = ~s\n" x)
> > ...)
>
> This is the most frightening idea I've heard today.
I *seriously* don't see what would be frightening about it.
> It did make me smile, though. If only we had a macro system where
> expressions could expand into reader macros.
We can do that with reader macros.
--
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://www.barzilay.org/ Maze is Life!