esseks/monicelli

MCC should be able to directly output the executable.

Closed this issue · 2 comments

Hello,
just an idea here, we could exploit the libclang APIs in order to directly compile the generated C++ code into an executable. This will allow the future developers to write more sophisticated code using only mcc, thus letting MCC to break into the world of real production-ready compilers.
I can only imagine the future of the CS universities, teaching Monicelli instead of that shitty Java.

We might probably add an option to mcc (-c?) to avoid the compilation and generate only the intermediary code.

The drawback is that we might probably have to migrate the compilation of mcc to clang++ as I'm not 100% sure the ABIs are compatible.

Just chiming in to say that a llvm frontend is on the way and should be expected shortly, together with a major overhauling of the codebase!

The LLVM frontend has finally arrived. Closing this :)