This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gccgo: A gcc frontend for Go, a new programming language
- From: Basile STARYNKEVITCH <basile at starynkevitch dot net>
- To: "Frank Ch. Eigler" <fche at redhat dot com>
- Cc: Ian Lance Taylor <iant at google dot com>, gcc at gcc dot gnu dot org
- Date: Wed, 11 Nov 2009 20:26:36 +0100
- Subject: Re: gccgo: A gcc frontend for Go, a new programming language
- References: <mcr4op2hsow.fsf@dhcp-172-17-9-151.mtv.corp.google.com> <y0mhbt1oroa.fsf@fche.csb>
Frank Ch. Eigler wrote:
Ian Lance Taylor <iant@google.com> writes:
[...] Go, a new experimental systems programming language designed
by a small group at Google. [...] The frontend is written in, yes,
C++. [...]
Neat. Are there any plans to have a front-end written in its own
language (and use the current C++ one only for bootstrapping)?
My feeling is that Google's Go (quite a nice language from the slides I just have read) is almost "canonically" the case
for a front-end plugin.
That is, gccgo could be the following shellscript
#! /bin/sh
gcc -fplugin=gofrontend.so $*
and of course we need to add into gcc-4.5 the few plugin hooks to make that easy.
Regards.
--
Basile STARYNKEVITCH http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mines, sont seulement les miennes} ***