HTML is the easy part, but maybe consider extending it like http://ideone.com/ an online compile service. Or maybe combine it though i am not sure if ideone.com offers an API.
Now that you mention IDEone, I remember they do have an API. Very interesting, I'll definitely consider it.