You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah, i would prefer to have both versions as one without a newline would facilitate printing various stuff in the same line (in my case, cause I like creating toy Langs, so i would have to implement string buffers first if i would like to print stuff that is more complex). But when i asked why it was this way, @aduros said on discord:
"Yeah, the intent was to have a drop in replacement for console.log() for debugging, and not fully expose stdout"
There should be some way to emit a string without a newline, and looks like
tracef
is the answer if it didn't emit the final newline. See #611In Forth it's idiomatic to emit lines like:
With the current
tracef
behaviour it's inconvenient to implement that, since it would require buffering until acr
is performed.The text was updated successfully, but these errors were encountered: