Web service that can take snppet code and check it

I want to create a training web service where the end user can enter the code in some language (for example, Java or python) for this problem, and the service should be able to determine if the code is compiling and showing the output for several test cases . I am trying to get an idea from the community about a) if something like this exists. B) how to build it.

Obviously, this service will support a very limited subset of the language for security reasons. It would be great if most of them were executed on the client side, but I would be happy to do this on the server side.

Is there such a framework that I can use to create a sandbox environment? Is there any particular language for which this would be especially simpler?

+3
source share
1 answer

Check out the iDeone API .

What is an ideon?

An ideal is more than a pastine; it is an online compiler and debugging tool that allows you to compile and run code on the Internet in more than 40 programming languages.

+4
source

Source: https://habr.com/ru/post/1773178/


All Articles