Skip to content
Snippets Groups Projects
Commit 9d4a287e authored by ram's avatar ram
Browse files

special-form-p -> special-operator-p. Nuked compiler-macroexpand[-1] because

they didn't make it into the standard.
parent 8260c5ba
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu. ;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;; ;;;
(ext:file-comment (ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/eval.lisp,v 1.21 1992/12/17 09:08:00 wlott Exp $") "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/eval.lisp,v 1.22 1993/06/23 19:31:14 ram Exp $")
;;; ;;;
;;; ********************************************************************** ;;; **********************************************************************
;;; ;;;
...@@ -15,9 +15,8 @@ ...@@ -15,9 +15,8 @@
(export '(eval constantp quote proclaim (export '(eval constantp quote proclaim
eval-when progn prog1 prog2 let let* eval-when progn prog1 prog2 let let*
do do* dotimes dolist progv and or cond if the do do* dotimes dolist progv and or cond if the
macro-function special-form-p *macroexpand-hook* macro-function special-operator-p *macroexpand-hook*
macroexpand-1 macroexpand block return-from macroexpand-1 macroexpand block return-from
compiler-macroexpand compiler-macroexpand-1
compiler-macro-function compiler-macro-function
return function setq psetq apply funcall return function setq psetq apply funcall
compiler-let progv flet labels macrolet compiler-let progv flet labels macrolet
...@@ -254,9 +253,8 @@ ...@@ -254,9 +253,8 @@
;;;; Syntactic environment access: ;;;; Syntactic environment access:
(defun special-form-p (symbol) (defun special-operator-p (symbol)
"If the symbol globally names a special form, returns the definition in a "If the symbol globally names a special form, returns T, otherwise NIL."
mysterious internal format (a FEXPR), else returns NIL."
(declare (symbol symbol)) (declare (symbol symbol))
(eq (info function kind symbol) :special-form)) (eq (info function kind symbol) :special-form))
...@@ -379,6 +377,9 @@ ...@@ -379,6 +377,9 @@
(setf (info function compiler-macro-function name) function) (setf (info function compiler-macro-function name) function)
function) function)
#|These seem to have been dropped from the spec, and we don't use them
internally...
(defun compiler-macroexpand-1 (form &optional env) (defun compiler-macroexpand-1 (form &optional env)
"If FORM is a function call for which a compiler-macro has been defined, "If FORM is a function call for which a compiler-macro has been defined,
invoke the expander function using *macroexpand-hook* and return the invoke the expander function using *macroexpand-hook* and return the
...@@ -401,7 +402,7 @@ ...@@ -401,7 +402,7 @@
(frob new-form t) (frob new-form t)
(values new-form expanded))))) (values new-form expanded)))))
(frob form env))) (frob form env)))
|#
(defun constantp (object) (defun constantp (object)
"True of any Lisp object that has a constant value: types that eval to "True of any Lisp object that has a constant value: types that eval to
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment