[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1339587528.18982.39.camel@thorin>
Date: Wed, 13 Jun 2012 13:38:45 +0200
From: Bernd Petrovitsch <bernd@...rovitsch.priv.at>
To: Chris Jones <chrisjones@...n.net.au>
Cc: linux-kernel@...r.kernel.org, Cong Wang <xiyou.wangcong@...il.com>
Subject: Re: gcc compiler modification to cater for new programming language
On Die, 2012-06-12 at 17:06 +1000, Chris Jones wrote:
> Cong Wang wrote:
[...]
> > Yeah, you need to write a gcc front-end for it.
>
> Why would you suggest writing a front-end for it? I think you're wrong
Because that's the right thing to do?!
> there as a front-end has nothing to do with the functionality of gcc.
> Explain to me why you would suggest this? Curious.
Get a basic course in compiler-contruction and learn, what "frontend"
and "backend" in a compiler are.
But you could also write a parser which parses the new/other programming
language and produces C which in turn can be compiled a an unpatched
gcc.
> I am aware it is off-topic and have also brought it up on the gcc
Then why are you posting it anyways?
Bernd
--
Bernd Petrovitsch Email : bernd@...rovitsch.priv.at
LUGA : http://www.luga.at
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists