On 21 August 2014 00:31, 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?
You can find a lot of info here: https://gcc.gnu.org/wiki/GettingStarted and in your case, specially here: https://gcc.gnu.org/wiki/WritingANewFrontEnd Suggestions on how to improve those pages are welcome. Cheers, Manuel.