Need help on creating a web-based playground
Closed this issue · 3 comments
bichanna commented
I've never built a web-based playground.
Could you guys help me create one?
GalaxianMonster commented
Umm. I think you can send an http request to execute the program in a sandboxed environment and return the output or errors. Or maybe just reimplement it in javascript, typescript or wasm.
bichanna commented
Or maybe just copy the whole source code and pass the entire text written in the playground to the Gen interpreter.
GalaxianMonster commented
How would you run a python file on the web browser?