[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CompiledInterpreted
- To: bug-lisp at MIT-MC
- Subject: CompiledInterpreted
- From: Rod Brooks <ROD at SU-AI>
- Date: Mon, 9 Jul 79 10:12:00 GMT
- Original-date: 09 Jul 1979 0312-PDT
Is something wrong with the compiler's (888) side effects analysis?
(DEFUN TTT (STREAM)
(PROG2 ()
(CAR (SYMEVAL STREAM))
(SET STREAM (CDR (SYMEVAL STREAM)))))
;; interpreted
(SETQ X '(3 4))
(3 4)
(TTT 'X)
3
X
(4)
;; compiled
(SETQ X '(3 4))
(3 4)
(TTT 'X)
4
X
(4)