Open jberdine opened 2 weeks ago
Note that skjson calls read_line
from a closure passed to Context.runWithGc
. So since IO.BufferedReader
is mutable, it cannot be used there, and some redesign will be needed.
The use in skdb appears to require a mutable global, so also will need some redesign.
Convert remaining uses of
System.read_line
toIO.BufferedReader
, and removeSystem.read_line
and associated runtime system functionsSKIP_read_line
,SKIP_read_to_end
and their support code.Originally posted by @jberdine in https://github.com/SkipLabs/skip/issues/409#issuecomment-2407302847