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: Writing a frontend to gcc for a new language developed at Ericsson


Mikael Wittberg wrote:
But I would like to ask you what your opinions are? What are the
rules for writing a new frontend? What do I have to do to get started?

Most of the rules are the same as for any other project. If you want to contribute the code, you have to follow our coding conventions which are documented on the web site, and we need copyright assignments.


We have limited documentation for writing front ends. This is primarily because a new front end is a rather rare event. There is the treelang front end which attempts to be a minimal front end, and might be useful as a template. Richard Kenner wrote somes slides a while back when the Ada front end was written, but that was most of a decade ago. I'm not sure if that info is still relevant, and I'm not sure if it is still available.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



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