gcc source
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? Tomsy Paul, Research Scholar, School of Engg., CUSAT, India.
Re: gcc source
Thank you very much for the quick help!! Let me look into the articles & contact you for further help. On 8/21/14, Manuel López-Ibáñez wrote: > On 21 August 2014 00:31, Tomsy Paul 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. >