The important point is not whether one line of code can be considered an implementation of Lisp;
Question:
The important point is not whether one line of code can be considered an implementation of Lisp; it is to recognize common patterns of computation. Both el i za and 1 i sp can be seen as interactive interpreters that read some input, transform or evaluate the input in some way, print the result, and then go back for more input. We can extract the following common pattern:
(defun program ( 1
(1 oop
( p r i n t prompt)
( p r i n t (transform ( r e a d ) 1) 1)
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Paradigms Of Artificial Intelligence Programming Case Studies In Common Lisp
ISBN: 9781558601918
1st Edition
Authors: Peter Norvig
Question Posted: