How to compile and interpret other languages in my website? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to compile and interpret other languages in my website?

I'm working in my personal project on Online BugHunt (Debugging Challenge) I want my participants to write code online, and my server checks the code by using test cases and provides the output. Websites like HackerRank, interprets other languages and gives the output. But how it does that? Is there is any Library to this work? Or They writing own compliers and interpreters in the server side language they using? What is behind this and How to do this? Any tip and solution will make my day great ! Thanks in advance !

15th Nov 2018, 4:52 PM
Hemath Kumar
Hemath Kumar - avatar
1 Answer
+ 7
They probably work like Sololearn but I'm not sure When you click run, it sends code to Sololearn server, server's compiler executes code then returns the output
15th Nov 2018, 7:01 PM
Mert Yazıcı
Mert Yazıcı - avatar