Make COND a non-recursive macro
commit893795b1c377f23dd42709b4367a1aade4b7570f
authorRon Gut <rongut@google.com>
Mon, 24 Oct 2016 17:13:06 +0000 (24 13:13 -0400)
committerDouglas Katzman <dougk@google.com>
Sat, 12 Nov 2016 02:34:47 +0000 (11 21:34 -0500)
treed317e5f480f835d92fef90de336eb7c65138fd29
parentb7c66feab4cdffc0236db00e7ebdf4fda6a1c812
Make COND a non-recursive macro

Doing so simplifies life for the interpreter, as the entire expansion is
available at once (and can be memoized directly with no special-casing).

This change also elides unneeded PROGNs in the expansion.
src/code/defboot.lisp
tests/walk.impure.lisp