X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fboot.lisp;h=3541b23a863e800e602dc220d4542eb2eba185b3;hb=916539de6153df7b4f6838c5e03ef420a890256c;hp=9b8a2e0893f056977a5bed424fcbdbef1c0155b3;hpb=57b5128b148076b44a9f207b59b6b7702b5fcad9;p=jscl.git diff --git a/src/boot.lisp b/src/boot.lisp index 9b8a2e0..3541b23 100644 --- a/src/boot.lisp +++ b/src/boot.lisp @@ -22,6 +22,8 @@ ;;; Lisp world from scratch. This code has to define enough language ;;; to the compiler to be able to run. +(/debug "loading boot.lisp!") + (eval-when-compile (let ((defmacro-macroexpander '#'(lambda (form) @@ -540,3 +542,8 @@ (defun error (fmt &rest args) (%throw (apply #'format nil fmt args))) + +(defmacro nth-value (n form) + `(multiple-value-call (lambda (&rest values) + (nth ,n values)) + ,form))