4
\$\begingroup\$

This site gets a relatively small number of posts. Could we contact IDEOne or somebody, and get a script going to test people's code automatically? Maybe put up a "powered by" logo somewhere?

\$\endgroup\$
  • \$\begingroup\$ Lots of places to try for setting this up can be found in Where to find a working Foo environment for testing answers?. Not sure where George's script is going right now. \$\endgroup\$ – dmckee --- ex-moderator kitten Sep 5 '11 at 16:46
  • \$\begingroup\$ I think the main problem would be providing stdin or whatever to run the testcases. If you can solve that, I think it's a great idea \$\endgroup\$ – gnibbler Sep 5 '11 at 23:52
  • \$\begingroup\$ @gnibbler, ideone solves that. Unfortunately they don't support GolfScript, because it isn't a RH rpm. \$\endgroup\$ – Peter Taylor Sep 6 '11 at 7:25
  • \$\begingroup\$ @Peter: GolfScript is just a Ruby-based interpreter (golfscript.rb), so you can probably include it as part of your ideone submission. (Not tested.) \$\endgroup\$ – Chris Jester-Young Sep 6 '11 at 13:28
  • \$\begingroup\$ @Chris, it must be possible to create a script to take a GS program and the GS interpreter and munge them together into a single Ruby program, but ugh. \$\endgroup\$ – Peter Taylor Sep 6 '11 at 14:08
2
\$\begingroup\$

George Edison's User script provides the ability to run some code (using Codepad, I think).

\$\endgroup\$
0
\$\begingroup\$

IDEONE expects some boilerplate for scala for example, naming conventions and a main-method, and a specific scala version. Enforcing compatibility would need to take this into account. I'm pretty sure, for other languages the situation is similar, isn't it? C, C++, Java, C#?

Maybe it isn't that restricted for scripting languages like ruby, python, perl, ... ?

\$\endgroup\$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .