This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Extending Gcc For a New Language
- From: dewar at gnat dot com (Robert Dewar)
- To: dewar at gnat dot com, kevina at gnu dot org
- Cc: gcc at gcc dot gnu dot org, mrs at apple dot com
- Date: Wed, 5 Mar 2003 21:58:20 -0500 (EST)
- Subject: Re: Extending Gcc For a New Language
The answer to all your question is no. Obviously gcc cannot out of the box accomodate
arbitrary new language features you think up. It does not have some magic table
driven front end.
You will need to write a new front end that properly accomodates the syntax and
static semantics of your language. What Mike was saying is that you won't need
to make changes to the gcc framework (interface to back end, back end itself etc).