This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc source


On 21 August 2014 00:31, Tomsy Paul <tomsypaul@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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]