Python syntax in Lisp and Scheme
csr21 at cam.ac.uk
Fri Oct 10 10:09:02 CEST 2003
"Andrew Dalke" <adalke at mindspring.com> writes:
> Pascal Costanza:
>> Furthermore note that this is not an implementation difference. The ANSI
>> standard defines the function COMPILE.
> Is the implementation free to *not* compile the code when the
> COMPILE function is called? That is, to leave it as is? How
> would a user tell the difference without running a timing test?
Somewhat ironically given the context, within the standard a user can
only tell whether code has been compiled by whether redefinitions of
macros affect the execution or not. (If they do, it hasn't been
compiled; if they don't, it has).
http://www-jcsu.jesus.cam.ac.uk/~csr21/ +44 1223 510 299/+44 7729 383 757
(set-pprint-dispatch 'number (lambda (s o) (declare (special b)) (format s b)))
(defvar b "~&Just another Lisp hacker~%") (pprint #36rJesusCollegeCambridge)
More information about the Python-list