Article View: net.lang.c++
Article #352Re: C++ preprocessor wanted
From: M.L. Vonder Haar x4126 3E257
Date: Tue, 14 Oct 1986 12:40
Date: Tue, 14 Oct 1986 12:40
22 lines
1655 bytes
1655 bytes
In article <12069@watnot.UUCP> cgoudeseune@watnot.UUCP (center of gravity) writes:
>I hear all these complaints that most C's only support 8-character
>identifiers, and the C++ preprocessor *needs* thirty-two.
>
>Say we use only 7-character letters-only identifiers.
>26^7 = 8 031 810 176.
>Seeing as how any C++ preprocessor is unlikely to produce over 8 billion
>different identifiers, is there a good reason why a little filter couldn't
>be inserted between C++'s output and C's input to shrink the size of these
>huge identifiers to a manageable size.
>Sure, it's slow; we've got a 8 MHz 68000. Sure, it's a kludge; it works!
>(I hope)
>
I just hope you never have a bug. Sdb is only fair as a debugger
for C++. But if you generated names that could not be easily
transformed by programmers to what they wrote in C++ sdb would be
just about useless.
The way I see it you'll need to write your own debugger at the
same time.
Mark L Vonder Haar
{ihnp4|cbosgd}!cbnap!mvh
Technical Details
Message-ID:
<173@cbnap.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbatt!cbdkc1!cbnap!mvhReferences:
<2939@sdcc6.ucsd.EDU> <397@mntgfx.mntgfx.UUCP> <12069@watnot.UUCP>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbatt!cbdkc1!cbnap!mvh From: mvh@cbnap.UUCP (M.L. Vonder Haar x4126 3E257) Newsgroups: net.lang.c++,net.micro.atari16 Subject: Re: C++ preprocessor wanted Message-ID: <173@cbnap.UUCP> Date: Tue, 14-Oct-86 08:40:02 EDT Article-I.D.: cbnap.173 Posted: Tue Oct 14 08:40:02 1986 Date-Received: Fri, 17-Oct-86 07:44:08 EDT References: <2939@sdcc6.ucsd.EDU> <397@mntgfx.mntgfx.UUCP> <12069@watnot.UUCP> Reply-To: mvh@cbnap.UUCP (M.L. Vonder Haar x4126 3E257) Distribution: net Organization: AT&T Bell Laboratories, Columbus Lines: 22 Keywords: Atari C-source