![]() | Program 1 | ||
|
Recall the definition of the (let (var val) body)where var is a variable and val and
body are expressions (ALetExp 's).
An sample expression is
(let (x (1 + 2)) (x * x))Note that you are only asked to write a parser, not an interpreter. Turn in all the code needed to parse this extended language. Your parser is due by 11am on 2000-09-11. Email the code to the TA before, and submit it in print at, the start of class. You may have to make some assumptions about the syntax of programs; document them!
Challenge: Try to formulate a reduction rule
for |