Thread: Is It Possible?
View Single Post
Old Nov 29th, 2005, 12:39 PM   #4
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5 Arevos is on a distinguished road
Quote:
Originally Posted by HaCkeR
I was thinking we spend along time downloading all of the different compilers for the different languages. But surely it is possible with all of the great programmers here to write a kind of "Super Compiler". Basicaly it can read all of the different languages. Is It Possible?
In theory, yes. The GCC project, for instance, has compilers for C, C++, Java and Fortran. I suspect some common code is interchanged between these compilers. To make a 'supercompiler', you could just stick the four separate compilers together.

But what would be the point? You'd end up with a compiler far bigger than one that handled a single language, with little to no advantages.

Further, it would be very hard (perhaps impossible) to create a compiler for all different languages, as some programming languages can't be easily compiled.
Arevos is offline   Reply With Quote