[plt-scheme] Chapter 1 of Programming Languages: Application and Interpretation Shriram Krishnamurthi

From: Emeka (emekamicro at gmail.com)
Date: Fri Feb 20 14:06:35 EST 2009

I use DrScheme , I set  it to Advanced Student(may be I didn't do it well),
while it seems the book used something else(I may be wrong too). Could
someone who has read this book before instruct me on what to do? Basically,
how to get the codes snippet of Chapter 1 up and runnig.
(define (parse sexp)
[(number? sexp) (num sexp)]
[(list? sexp)
(case (first sexp)
[(+) (add (parse (second sexp))
(parse (third sexp)))]
[(-) (sub (parse (second sexp))
(parse (third sexp)))])]))

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20090220/a2c75045/attachment.html>

Posted on the users mailing list.