62
CHAPTER 4. SCHEME SERVLETS
S expressions where the Ei are numbers, strings, or S expressions.
(E0 E1 ... Ek)
Quasi strings where Ei are S expressions
{....[E1]....[E2]....
....[En]....}
Servlets where E is an S expression
(servlet (a b ...)
E)
Case based execution where the Ci are constants and the Ei are expres
sions.
(case E0
((C1) E1)
((C2 C3 C4 C5) E2)
...
(else E))
Simple tests where TEST, THEN, ELSE are expressions.
(if TEST THEN ELSE)
Multiple tests where Ti are tests and the Ei are expressions.
(cond
(T1 E1)
(T2 E2)
...
(else E))
Local Variable Binding where the Vi are variables and the Ei are expres
sions.
(let* ((V1 E1)
(V2 E2)
...
(Vn En))
E)
Figure 4.1: Summary of Scheme Syntax