This is the mail archive of the
mailing list for the GCC project.
Re: A FrontEnd in C++?
Fergus Henderson wrote:
> (Actually, I should
Why not ? Fortran 2000, the upcoming Standard, includes C
interoperability, so it shouldn't even be hard to couple the frontend
written in Fortran to the middle end written in C.
also include Fortran in that list -- but who'd want to write compilers
or interpreters in Fortran? ;-)
Perhaps we just do not see the problem in using C to write a compiler
(and forgo the difficulties of providing a bootstrap compiler).
It's just a question of restricting yourself to the safe parts of the
language (e.g., don't divide by a negative integer, etc.)
Toon Moene - mailto:firstname.lastname@example.org - phoneto: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
Join GNU Fortran 95: http://g95.sourceforge.net/ (under construction)