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. (http://www.amazon.com/dp/0023397632/).
The questions are also available here (http://www.ccs.neu.edu/home/matthias/BTLS/exercises.ps)
Exercise 1: Starting writing your own arithmetic DSL in Lisp
Exercise 2: Validating an expression in your DSL
Exercise 3: Count the operators in your DSL
Exercise 4: Count the operands in your DSL
Exercise 5: Make your DSL expressions scalable
Exercise 6: Add binary operators to your expressions
Exercise 7: In your DSL check you have values for your expressions
Exercise 8: Get the variables passed into your expression DSL
Exercise 9: Evaluate your expression in your DSL
Exercise 10: Add binary operators into the evaluation of your DSL
No comments:
Post a Comment