X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=test.lisp;h=ae8b02d4936cdec20797099740213a01e2a431cf;hb=1f4ae1183098cb793ad02b8aa08301f59488d28a;hp=6d386cba2fc0c295d3d51baf5000a0c094bedce7;hpb=d0b80709a9000bc3208c806b7f57c727b3610d22;p=jscl.git diff --git a/test.lisp b/test.lisp index 6d386cb..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))) @@ -69,15 +68,6 @@ (debug (lambda (x y &rest z) x)) -(progn - (eval-when-compile - (%compile-defun 'f)) - (fsetq f (lambda (x) (* x x)))) - -(debug (f 33)) - -;; (debug (foo)) - ;; (eval-when-compile ;; (%compile-defmacro 'defun ;; (lambda (name args &rest body)