public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Zack Weinberg <zack@codesourcery.com>
To: Frank Klemm <pfk@fuchs.offl.uni-jena.de>
Cc: gcc@gcc.gnu.org
Subject: Re: Proposal
Date: Tue, 18 Sep 2001 22:37:00 -0000	[thread overview]
Message-ID: <20010918223652.J12089@codesourcery.com> (raw)
In-Reply-To: <20010918211231.A21191@fuchs.offl.uni-jena.de>

On Tue, Sep 18, 2001 at 09:12:31PM +0200, Frank Klemm wrote:
> On Tue, Sep 18, 2001 at 10:20:00AM -0700, Zack Weinberg wrote:
> > 
> > I'd also point out that very few people have access to the
> > standard; yes, ANSI sells copies for not-totally-outrageous sums,
> > but many don't know that and the cost may still be too high.
>
> Most programmers don't know the standard and are not interested in
> knowing the standard, because their (present) job is to solve a
> problem for one or two different systems, not for every
> theoretically possible system, and the standard supports nearly
> every stuff which has more than 4 pins ;-)

We tend to see things differently from most programmers, since we are
responsible for supporting every feature of the compiler.  The
standard is the only thing that tells us what the compiler is supposed
to do, and we have enough trouble with its own ambiguities.  Every
extension adds ambiguities to that.

We are therefore concerned that extensions fit well with the standard,
The best way to ensure that is for the people who propose and
implement them to be deeply familiar with the standard.  As such, it
is a problem that the standard is not freely or even widely available.

Let's get back to what you originally proposed.  You want to be able
to write 1000000 as 1_000_000 for legibility.  This would be easy to
implement and I agree that it would be an improvement.  What you need
to do is decide exactly what the extended syntax is supposed to be.
For instance, are you allowed to write any of the following?

	16777216_UL
	16777216U_L
	0._1234
	0x_1234
	12.34_e+56
	12.34e_+56

All but the last are legitimate "preprocessing numbers".  I can tell
you right now that I'll be a lot more receptive to an extension that
doesn't change the definition of a preprocessing number.

You should investigate the rules for numeric syntax in languages
which already have this notation, such as Ada and Perl.

Once you've done an exhaustive analysis and decided what your syntax
is going to be, you should submit a patch which implements and
documents the new extension.  We will then consider it.

Oh, and file your copyright assignment paperwork now; the turnaround
time can be several months and we can't take any nontrivial patch of
yours until it's come back.

> I'm looking for some webspace for feature proposals, performance
> issues and warning issues.
> 
> And someone who translates my "pseudo English" into "real English".

Please feel free to submit patches to our website.  (You need not file
copyright paperwork to do this.)  You can check it out of CVS with

cvs -d :pserver:anoncvs@gcc.gnu.org:/cvs/gcc co wwwdocs

Read through the existing htdocs/projects directory first, please.

There are plenty of native English speakers on this list who will be
happy to help you with phrasing and so on.

zw

  reply	other threads:[~2001-09-18 22:37 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-15 11:45 Proposal Frank Klemm
2001-09-15 12:15 ` Proposal Gerald Pfeifer
2001-09-17 16:00 ` Proposal Neil Booth
2001-09-18  2:30   ` Proposal Joseph S. Myers
2001-09-18 10:21     ` Proposal Zack Weinberg
2001-09-18 11:14       ` Proposal Joseph S. Myers
2001-09-18 22:20         ` Proposal Zack Weinberg
2001-09-19  1:14           ` Proposal Joseph S. Myers
2001-09-18 12:23       ` Proposal Frank Klemm
2001-09-18 22:37         ` Zack Weinberg [this message]
2001-09-19  0:02           ` Proposal Neil Booth
2001-09-19  2:23             ` Proposal Tim Hollebeek
2001-09-19  2:41               ` Proposal Richard Earnshaw
2001-09-19 13:38         ` Proposal Joe Buck
2001-09-18 15:35       ` Proposal Robert Lipe
2001-09-18 16:59         ` Proposal Russ Allbery
2001-09-20 11:17           ` Proposal Kai Henningsen
2001-09-20 12:34             ` Proposal Russ Allbery
2001-09-18  9:48   ` Proposal Frank Klemm
2001-09-18 11:06     ` Proposal Neil Booth
2001-09-18 11:37     ` Proposal Kevin Handy
2001-09-18 15:48       ` Proposal Neil Booth
2001-09-18 15:55         ` Proposal Toon Moene
2001-09-27  5:39     ` Proposal Alexandre Oliva
2001-09-27  7:09       ` Proposal Frank Klemm
2001-09-27 16:22         ` Proposal Zack Weinberg
2001-09-29 15:45           ` Proposal Frank Klemm
2001-09-30  9:35             ` Proposal Zack Weinberg
2001-09-27 16:36         ` Proposal Neil Booth
2001-09-29 15:45           ` Proposal Frank Klemm
2001-09-29 17:22             ` Proposal Daniel Jacobowitz
2001-09-29 18:32               ` OT: Proposal Michael Matz
2001-10-03  3:52         ` Proposal Fergus Henderson
2001-09-17  8:55 Proposal Thomas R. Truscott
2001-09-18  9:32 Proposal dewar
2001-09-18 12:30 Proposal dewar
2001-09-18 23:01 ` Proposal Zack Weinberg
2001-09-19  0:06 Proposal dewar
2001-09-19  2:34 Proposal dewar
2001-09-19  2:44 Proposal dewar
2012-09-03 15:16 Proposal Afeez Basit
2012-09-03 18:35 Proposal Afeez Basit
2013-06-26 17:41 Proposal Barrister David Lopez Esq
2013-06-26 18:15 ` Proposal Paolo Carlini
2013-06-26 18:40   ` Proposal Daniel Santos
2013-06-26 17:47 Proposal Barrister David Lopez Esq

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=20010918223652.J12089@codesourcery.com \
    --to=zack@codesourcery.com \
    --cc=gcc@gcc.gnu.org \
    --cc=pfk@fuchs.offl.uni-jena.de \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).