Tue May 8 13:23:32 CEST 2007
now that task local I/O stacks are solved, it's time to fix
'read'. currently i don't really remember how it works, so that's a
bad thing.. 'read' is a core word, and currently implemented as a
deferred word. however, deferred words are global things, not task-local.
currently 'read' refers to read-current-stream. the latter is
currently also implemented as a deferred word, which is what needs to
change: it needs to take the top of the input stack (a variable that
can be task local) as definition.
seems to work.