[MyMachine:cs170/Scheme] ./runschemeI
A prototype evaluator for Scheme.
Type Scheme expressions using quote,
car, cdr, cons and symbol?.
The function call (exit) quits.

scheme> (quote (a b c))
 (quote (a b c))

scheme> a
 a 

scheme> (quote (a b c))
 (quote (a b c)) 

scheme> (cdr (quote (a b c)))
 (cdr (quote (a b c)))

scheme> (car (cdr (quote (a b c))))
 (car (cdr (quote (a b c)))) 

scheme> (cons (quote a) (quote b c))
 (cons (quote a) (quote b c))

scheme> (cons (quote (a b c)) #f)
 (cons (quote (a b c)) #f)

scheme> (car (cons (quote (a b c)) #f))
 (car (cons (quote (a b c)) #f))

scheme> (symbol? a)
 (symbol? a) 

scheme> (symbol? (quote (a b c)))
 (symbol? (quote (a b c))) 

scheme> (exit)
 (exit)

scheme> ^C
[MyMachine:cs170/Scheme]