Im interested in how I could use a scripting language to execute simple blocks of code in a sandboxed manor. The host language/environment could be c#/ruby/python/java (anything but c). But the scripting language could equally be something obscure such as javascript/python/ruby/perl etc.
What I want is a way of executing script with traditional programing constructs i.e. conditionals/loops/date maipulation/arrays etc. But what I dont want is to expose things such as IO, connectivity to http streams, databases etc.
I'm currently looking at spidermonkey using the python adaptor, but I wondered if there were other options that I should consider.
Any advise welcome.
Cheers, Chris.