seankross / mario

🍄 But our princess is in another castle!
Other
21 stars 1 forks source link

save the user program's stdout/stderr output so that frontend can print them to a JS terminal #25

Open pgbovine opened 3 years ago

pgbovine commented 3 years ago

This will make the tool a true end-to-end experience that can run arbitrary user code and at least print out what it would've printed out when running on the user's computer (but in the browser via, say, Xterm.js). That way, even if we don't support certain operations we can at least fall back to being no worse than what would've happened when running on the user's computer anyhow.

Bonus: save graphical output (e.g., plots, charts, etc.) so that the frontend can display them on-screen as well.

pgbovine commented 3 years ago

related to https://github.com/seankross/mario/issues/26