chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-hackers] tokenization question


From: Peter Keller
Subject: [Chicken-hackers] tokenization question
Date: Mon, 18 Jun 2007 15:13:31 -0500
User-agent: Mutt/1.4.2.1i

Hello,

How does chicken know what happened here:

csi> define
Error: unbound variable: define
csi> (define define (lambda () 42))
csi> define
#<procedure (define)>
csi> (define)
Error: (car) during expansion of (define ...) - bad argument type: ()

        Call history:

        <syntax>                (define)        <--
csi> 

How did it know the difference between the uses? Are special keywords like
'define' internally viewed differently than normal identifier names? Which
special keywords fall under this type of behavior--the usual ones as in R5RS?

Thank you.

-pete




reply via email to

[Prev in Thread] Current Thread [Next in Thread]