mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-23 20:15:05 +02:00
Added TODO
This commit is contained in:
parent
5a27727c4f
commit
71e07d864b
1 changed files with 5 additions and 0 deletions
|
@ -1027,6 +1027,11 @@
|
|||
;; (alpha, cps, closure, etc). otherwise code has to be interpreted during expansion
|
||||
;;
|
||||
`(define ,name ,(expand body))))
|
||||
|
||||
TODO: this is not working (I think) because we get "symbol and" and not "compiled macro and".
|
||||
would have to look up symbol to see if it is a macro, and then get the macro that way...
|
||||
may need to have a *define-macros* equivalent but in the compiled code, similar to globals.
|
||||
need to be able to look up var in a list and get the (macro?) instance.
|
||||
((or (macro? exp)
|
||||
(macro:macro? exp *defined-macros*))
|
||||
(expand ;; Could expand into another macro
|
||||
|
|
Loading…
Add table
Reference in a new issue