bootstrap.compiler: add -debug-compiler switch which loads compiler but doesn't compile any words

db4
Slava Pestov 2009-08-20 03:48:03 -05:00
parent 9ef8f6c81d
commit a3631f1878
1 changed files with 59 additions and 55 deletions

View File

@ -35,6 +35,8 @@ gc
: compile-unoptimized ( words -- )
[ optimized? not ] filter compile ;
"debug-compiler" get [
nl
"Compiling..." write flush
@ -115,3 +117,5 @@ nl
vocabs [ words compile-unoptimized "." write flush ] each
" done" print flush
] unless