how to create online compiler..

i want to create a online c++ compiler for a website,which may work as online solution to traditional(offline) compilers.
what kind of programming i will have to learn for making online compiler
is there any already existing compiler in linux system which could be combined to any site.
plz help.
Last edited on
You could have a site which accepts a piece of code, sends it to a dedicated server which compiles it, and sends the result to you as a download. There is no way of making this into a process as simple as adding some code into the web page source code and just have it run as far as I know, though.

-Albatross
I kind of judge from his English that he isn't really going to do it, anyways. Might be wrong, but that's just me.

Albatross' way seems fair. (But this whole idea isn't too fancy, at all)
Last edited on
Another way would be writing the compiler in ECMAScript or PHP ;^)
I wrote a syntax highlighter in Perl. It can even go as far as highlighting some easily-found errors. I thought about making it do complete syntax checking but that's a huge undertaking and would continuously evolve.

There are plenty of online compilers already, too. It's just not worth the effort.
Topic archived. No new replies allowed.