View Single Post
Join Date: Dec 2007
Posts: 13
Reputation: abhi_marichi is an unknown quantity at this point 
Solved Threads: 0
abhi_marichi abhi_marichi is offline Offline
Newbie Poster

An implementation idea requied in Compiler Interface

 
0
  #1
Jan 10th, 2009
I want to know how can we interface compilers so that we can mix up many languages together but still the code should work.
One of my thoughts is, if there is any code in C allthose codes must be taken apart and must be compiled by C compiler and if there is any code in Java it must be taken apart and must be compiled separately. The laguages must be able to pass the result between them and output screen must be same for all.
So code like this must work:
[code]
#include<stdio.h>
void main()
{
system.out.println("HAI");
}
[\code]

It looks crazy but if possible answer it...
Reply With Quote