Bubbler-4 / TryInBrowser

Online interpreter that works even if you go offline
https://try-in-browser.netlify.app/
MIT License
4 stars 0 forks source link

Allow erroring when calling init #5

Closed ysthakur closed 3 years ago

ysthakur commented 3 years ago

It would be nice to error or print something else in the init method itself, instead of checking a condition each time when calling step and stopping then. I don't know Rust, so would that be possible?

Bubbler-4 commented 3 years ago

If you mean this method, the LangContext will be totally replaced by a WebWorker-based async runner (which doesn't require single-stepping at all) in the next update. See #2 for details.