+ 1
Codeplay input formatting
I think you should make code playground more interactive so that users dont need to give input before running program. He may able to give i/p at the place where it is needed that will be easy for us to get the code
8 Answers
+ 3
certain languages allow a set selected condition for such and others a form while certain languages require initial input ~ the playground works well as constucted.
+ 2
Adarsh Srivastava your example led to a form which I pointed out ~ am I confused
+ 1
Adarsh Srivastava Its not simple (if not impossible) do this because compilation/interpretation happen on SERVER and not on client
+ 1
KrOW
https://repl.it/repls/PettyDimwittedProcesses
check out this
0
Can you make an example?
0
repl.it work in different way than SoloLearn... In SoloLearn when you run a code, your browser send a request to SL server (except for Web codes) then SL interpret/compile your code and send you a response (the output). On repl.it all happen on CLIENT (your browser do much more work, it interpret/compile codes and run they).
Either obviously have pros and cons
0
EDIT: I see deeply repl.it and seem that some languages run directly on browser, others run like SL (on server side) and make interactive input thanks to an persistent websocket connection (while script is runned) that "comunicate" with the client for "update it". Its good but make all comunications more hard to maintain