🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #1022

Re: Macro names imbedded in pp-numbers

#1022
From: jss
Date: Tue, 28 Nov 1989 03:02
22 lines
1516 bytes
I have decided to add my 2 cents to this discussion because
I am the person who originally formulated the idea of pp-number 
in a comment during the _first_ public review.

I was motivated to do so by two factors.  

    One (which has already been alluded to) was the need for a 
    precise definition of token.  An associate was working on a 
    preprocessor and the definition in the draft (based on the
    idea of longest legal prefix) were ambiguous.  We attempted
    to clean it up, but found ourselves getting into a quagmire
    of complexity.  The pp-number approach seemed much simpler. 
    
    The second (which I have not seen mentioned) was the need to 
    allow for extending the possible forms of numbers into the future.
    E.g. 0b1001, 1LL, 4K.  With the current specification all these 
    might be taken as numbers (binary, long long, scaled by 1024) by 
    a conforming compiler or in some future version of C. 

Ease of implementation was not a consideration at all.  

Jerry Schwarz
Technical Details
Message-ID: <9394@ardent.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uunet!samsung!usc!apple!mips!ardent!jra!jss
References: <11134@riks.csl.sony.co.jp> <31615@watmath.waterloo.edu> <31792@watmath.waterloo.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uunet!samsung!usc!apple!mips!ardent!jra!jss
From: jss@jra.ardent.com
Newsgroups: comp.std.c
Subject: Re: Macro names imbedded in pp-numbers
Message-ID: <9394@ardent.UUCP>
Date: 28 Nov 89 03:02:23 GMT
References: <11134@riks.csl.sony.co.jp> <31615@watmath.waterloo.edu> <31792@watmath.waterloo.edu>
Sender: news@ardent.UUCP
Reply-To: jss@jra.ardent.com ()
Organization: Ardent Computer Corp., Sunnyvale, CA
Lines: 22