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: kevin at atkinson dot dhs dot org, mrs at apple dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 5 Mar 2003 22:23:20 -0500 (EST)
- Subject: Re: Extending Gcc For a New Language
> This would be a good strategy for you; not because it is best, but
> because you then don't have to learn anything about gcc, the interface
> is very stable, and it should be expressive enough. Though, you've not
> included enough details to say for sure. Example, write a compile that
> compiles the language:
The other possibility is to generate C++ or Ada for that matter, which allows
some fundamental additional expressive power (e.g. overflow checking in the
case of Ada, or exceptions in the case of both C and Ada).