sicp-ex-5.23



<< Previous exercise (5.22) | Index | Next exercise (5.24) >>


meteorgan

  
  
  
 ;;  add those following ev-dispatch 
 (test (op cond?) (reg expr)) 
 (branch (label ev-cond)) 
  
  ev-cond 
  (assign expr (op cond->if) (reg expr)) 
 (goto (label ev-if)) 
  
 ;; add those to eceval-operations 
  (list 'cond? cond?) 
 (list 'cond->if cond->if)