repo.or.cz
/
berndj-bootstrap.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Implement quote as a built-in macro.
[berndj-bootstrap.git]
/
lisp
/
test-expected
blob
96335f64872bd3c27f218a265e671ca39f65439e
1
(+ 4 5) -> 9
2
(cons 17 42) -> (17 . 42)
3
(car (cons 17 42)) -> 17
4
#t -> #t
5
cons -> builtin-function
6
lambda -> builtin-macro
7
(lambda () 42) -> user-function
8
((lambda () 42)) -> 42
9
((lambda (a) (+ 2 a)) 17) -> 19
10
(quote ()) -> ()
11
(quote (a b c)) -> (a b c)