This would really be great.
I saw people posting code that doesn't run because of syntax errors.
I told them that there are errors in the code but they didn't believe me.
I had to explain exactly which line doesn't run and why such a statement is not possible in this language.
It was really exhausting.
On jdoodle you can run code of many languages directly in your browser.