public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Bernd Petrovitsch <bernd@petrovitsch.priv.at>
To: Chris Jones <chrisjones@spin.net.au>
Cc: linux-kernel@vger.kernel.org, Cong Wang <xiyou.wangcong@gmail.com>
Subject: Re: gcc compiler modification to cater for new programming language
Date: Wed, 13 Jun 2012 13:38:45 +0200	[thread overview]
Message-ID: <1339587528.18982.39.camel@thorin> (raw)
In-Reply-To: <4FD6EA5B.5030905@spin.net.au>

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@petrovitsch.priv.at
                     LUGA : http://www.luga.at


  reply	other threads:[~2012-06-13 11:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-10  2:02 gcc compiler modification to cater for new programming language Chris Jones
2012-06-10  2:18 ` Cong Wang
2012-06-12  7:06   ` Chris Jones
2012-06-13 11:38     ` Bernd Petrovitsch [this message]
2012-06-10  8:31 ` Lukasz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1339587528.18982.39.camel@thorin \
    --to=bernd@petrovitsch.priv.at \
    --cc=chrisjones@spin.net.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=xiyou.wangcong@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox