Make WRITE work throughout COLD-INIT.
commit6867de45a45cb71501327fc58a4440a7f1b5a9e5
authorDouglas Katzman <dougk@google.com>
Mon, 8 Sep 2014 19:46:46 +0000 (8 15:46 -0400)
committerDouglas Katzman <dougk@google.com>
Mon, 8 Sep 2014 19:51:20 +0000 (8 15:51 -0400)
tree9a35d5214e853e809d6b492c4482430cb78062d8
parent3af22b20090b290a3a436a9eafe0c95b10dbba30
Make WRITE work throughout COLD-INIT.

Progress reports are now possible without #!+sb-show.
If you put at toplevel for example
  (progn (write-string "Hey there: ") (write *info-types*))
this works as expected, subject to a few cautions:
  - doesn't work prior to package-init
  - might crash on structures, or not
  - output stream is not particularly efficient
  - and unsupported for win32
src/code/cold-init-helper-macros.lisp
src/code/cold-init.lisp
src/code/early-print.lisp
src/code/fd-stream.lisp
src/code/print.lisp
src/code/reader.lisp
src/compiler/generic/genesis.lisp