🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.lang.c++
Article #345

Re: C++ preprocessor wanted

#345
From: center of gravity
Date: Mon, 13 Oct 1986 22:10
13 lines
1271 bytes
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)

Camille
Technical Details
Message-ID: <12069@watnot.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!watnot!cgoudeseune
References: <2939@sdcc6.ucsd.EDU> <397@mntgfx.mntgfx.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site watnot.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!watnot!cgoudeseune
From: cgoudeseune@watnot.UUCP (center of gravity)
Newsgroups: net.lang.c++,net.micro.atari16
Subject: Re: C++ preprocessor wanted
Message-ID: <12069@watnot.UUCP>
Date: Mon, 13-Oct-86 18:10:12 EDT
Article-I.D.: watnot.12069
Posted: Mon Oct 13 18:10:12 1986
Date-Received: Tue, 14-Oct-86 04:54:50 EDT
References: <2939@sdcc6.ucsd.EDU> <397@mntgfx.mntgfx.UUCP>
Reply-To: cgoudeseune@watnot.UUCP (center of gravity)
Distribution: net
Organization: U of Waterloo, Ontario
Lines: 13
Keywords: Atari C-source
Summary: possible solution