#1368 Site request: Fantom playground.

DanielFath Mon 3 Jan 2011

I was cruising over Go language site and I noticed this: http://golang.org/doc/playground.html. If by any case you update this site, could we get a nice little Fantom Shell or a playground at front page? Perhaps replace the middle "Hello World" example on the front page with it.

kaushik Mon 3 Jan 2011

+1 definitely. Will be cool if the playground also includes a "tutorial" to learn as you try for beginners. If you want to work on this, I am willing to share half the effort.

brian Mon 3 Jan 2011

That would be cool. Although not sure that is anything we will have time to add to this site in the near future. But would be a cool project for someone in the community to build. The trick would be security, which maybe could be done using Java VM sandbox model.

helium Mon 3 Jan 2011

What about using the JavaScript backend? That should be pretty safe.

DanielFath Mon 3 Jan 2011

How would the JS backend be able to parse the text? I mean theoretically speaking.

kaushik Tue 4 Jan 2011

How about just compile to javascript, and bring it back to the browser and executing it there? Although, I think using JVM's sandbox and disabling a few things should work just fine. Any gotchas in that?

Login or Signup to reply.