From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gabriel Dos Reis To: Zack Weinberg Cc: Fergus Henderson , khalid aggag , gcc@gcc.gnu.org Subject: Re: A FrontEnd in C++? Date: Mon, 19 Aug 2002 02:18:00 -0000 Message-id: References: <20020819074617.GA2010@earth.cs.mu.oz.au> <20020819080229.GE14079@codesourcery.com> X-SW-Source: 2002-08/msg01076.html Zack Weinberg writes: | On Mon, Aug 19, 2002 at 05:46:18PM +1000, Fergus Henderson wrote: | > On 17-Aug-2002, khalid aggag wrote: | > > I am currently developing a new Frontend for an educational language for | > > GCC. I have the language's lexical analysis and parsing modules in C++. Is | > > it possible to develop a frontend for gcc written completely in C++? | > | > Yes, it is possible. | > People have written frontends for gcc in languages other than C before. | > For example, the Ada front-end is written in Ada, and the Mercury | > front-end is written in Mercury. | | Based on the number of problems we have encountered with the Ada front | end compared to the others, I think that as a matter of project policy | writing front ends in any language other than C should be discouraged. It is far from clear that those problems aren't deficiencies in the GCC's own architecture; any project that would make it possible to use the targetted language as an implementation language for front-ends should be highly encouraged IMSHO. -- Gaby