Added TODO

This commit is contained in:
Justin Ethier 2015-08-12 22:19:29 -04:00
parent edd6bf81da
commit 49f1d4b604

View file

@ -383,8 +383,10 @@
((if? exp) (analyze-if exp)) ((if? exp) (analyze-if exp))
((lambda? exp) (analyze-lambda exp)) ((lambda? exp) (analyze-lambda exp))
;; Expand macros ;; Expand macros
;; TODO: does not work below because car is a symbol ('or) and
;; not the actual macro. so how to look it up???
((and (pair? exp) (macro? (car exp))) ((and (pair? exp) (macro? (car exp)))
(write (list 'debug 'macro exp)) ;(write (list 'debug 'macro exp))
(analyze (apply (car exp) (cdr exp)))) (analyze (apply (car exp) (cdr exp))))
;; TODO: ideally, macro system would handle these next three ;; TODO: ideally, macro system would handle these next three
((tagged-list? 'let exp) ((tagged-list? 'let exp)