为什么这个 while 循环不适用于元循环解释器。我如何在我的交互窗口中运行它?
((while? exp) (eval (while->combination exp) env))
(define (while-condition expr) (cadr expr))
(define (while-body expr) (caddr expr))
(define (while->combination exp)
(sequence->exp
(list (list 'define
(list 'while-iter)
(make-if (while-condition exp)
(sequence->exp (list (while-body exp)
(list 'while-iter)))
'true))
(list 'while-iter))))