On Wed, Aug 20, 2014 at 3:31 PM, Tomsy Paul <tomsyp...@gmail.com> wrote:
> Hello,
>
> I am designing a new language. I hope I can customize the front end of
> gcc to suit my language. I am comfortable with lex & yacc. I went
> through the source code of gcc but could not locate any lex or yacc
> source file.
>
> I prefer to modify the C compiler.
>
> Can you please explain the source file organisation of gcc?


Yes GCC uses a custom top-down parser for the C parser (and the C++
parser also).

Thanks,
Andrew

>
> Tomsy Paul,
> Research Scholar,
> School of Engg.,
> CUSAT, India.

Reply via email to