1 (in-package :avm2-compiler
)
6 ;; old macro -> special form hack
7 #+nil
(defmacro swf-defmacro
(name (&rest args
) &body body
)
8 `(defmethod scompile-cons ((car (eql ',name
)) cdr
)
9 (destructuring-bind (,@args
) cdr
13 (defmacro swf-defmacro
(name (&rest args
) &body body
)
15 (environment (gensym)))
16 `(add-swf-macro-function
18 (lambda (,form
,environment
)
19 (declare (ignore ,environment
))
20 (destructuring-bind ,args
(cdr ,form
)