Saturday, June 12, 2010

The Little LISPer - Chapter 10 - What is the value of all this?

You can go to the parent page here.

These are links to worked examples of The Little Lisper (3rd Edn.) in Common Lisp. They are being released in sequence, so not all are available now.

The assumption is that you have a copy or have read Mattias Felleison's The Little LISPer. (

The questions are also available here (

Exercise 1: YourDSL - Can you evaluate this S-expr?
Exercise 2: YourDSL - Can you evaluate this lazy S-expr?
Exercise 3: YourDSL - Will your eval produce closures?
Exercise 4: YourDSL - How to rewrite your function
Exercise 5: YourDSL - How to rewrite closures and primitives
Exercise 6: YourDSL - Can you represent a table as a fn?
Exercise 7: YourDSL - Is this S-Expr a lambda-expression?
Exercise 8: Can you change a function-table to a function?
Exercise 9: YourDSL - building  fns by eval'ing an expr
Exercise 10: Can you completely rewrite lisp in your DSL?

No comments:

Post a Comment