🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #5079

Re: Why trigraphs? What happened to the DIgraphs?

#5079
From: Karl Heuer
Date: Fri, 17 Jun 1988 14:44
13 lines
963 bytes
In article <1302@ark.cs.vu.nl> maart@cs.vu.nl (Maarten Litmaath) writes:
>Why use trigraphs if digraphs are available?
>	[ = .(
>	] = .)

Sorry, but ".)" is already a valid sequence in C code:  x=cos(1.)
The trigraphs have the property that no existing code contains them outside of
comments and strings.

If you're going to followup with an improved proposal, please note that there
are nine characters ( #[\]^{|}~ ) to be handled.

Karl W. Z. Heuer (ima!haddock!karl or karl@haddock.isc.com), The Walking Lint
Technical Details
Message-ID: <4599@haddock.ISC.COM>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!husc6!spdcc!ima!haddock!karl
References: <19345@watmath.waterloo.edu> <1302@ark.cs.vu.nl>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!husc6!spdcc!ima!haddock!karl
From: karl@haddock.ISC.COM (Karl Heuer)
Newsgroups: comp.std.c
Subject: Re: Why trigraphs? What happened to the DIgraphs?
Summary: What digraphs?
Message-ID: <4599@haddock.ISC.COM>
Date: 17 Jun 88 14:44:29 GMT
References: <19345@watmath.waterloo.edu> <1302@ark.cs.vu.nl>
Reply-To: karl@haddock.ima.isc.com (Karl Heuer)
Organization: Interactive Systems, Boston
Lines: 13