Frank Buss <fb@frank-buss.de> wrote:
+---------------
| thanks, this is what I want to implement. No GOTO, even not at the
| machine level, only a real Lisp CPU with WHILE, IF and PROGN.
+---------------
By the way, if you allow even one global variable, then with PROGN,
IF, and WHILE you can efficiently emulate *arbitrary* patterns of
spaghetti-code GOTOs. [See William Wulf and Mary Shaw, "Global Variable
Considered Harmful", ACM "SIGPLAN Notices", Vol. 8, Issue 2 (Feb. 1973)
<http://portal.acm.org/citation.cfm?id=953355>.]
;-}
-Rob
p.s. IMHO, for a "real Lisp CPU" you also need abstraction,
a.k.a. LAMBDA and function call.
-----
Rob Warnock <rpw3@rpw3.org>
627 26th Avenue <URL:http://rpw3.org/>
San Mateo, CA 94403 (650)572-2607