X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=test.lisp;h=ae8b02d4936cdec20797099740213a01e2a431cf;hb=1f4ae1183098cb793ad02b8aa08301f59488d28a;hp=3a990fe6434788341262a9e3f1b939f1d99e6432;hpb=f18b4ce1c1f49b2267c96e15b777cd416328c965;p=jscl.git diff --git a/test.lisp b/test.lisp index 3a990fe..ae8b02d 100644 --- a/test.lisp +++ b/test.lisp @@ -1,3 +1,7 @@ +;;; Library + +;;; Tests + (lambda (x y) x) (debug "hola") @@ -26,12 +30,7 @@ ;;; Macros (debug "---MACROS---") -(eval-when-compile - (%compile-defmacro 'defmacro - (lambda (name args &rest body) - (list 'eval-when-compile - (list '%compile-defmacro (list 'quote name) - (list* 'lambda args body)))))) + (defmacro incf (x) (list 'setq x (list '+ 1 x))) @@ -68,7 +67,6 @@ (debug (lambda (x y &rest z) z)) (debug (lambda (x y &rest z) x)) -;; (debug (foo)) ;; (eval-when-compile ;; (%compile-defmacro 'defun