Re: Brian Kernighan, maybe I'm not worthy, maybe I'm scum



Randy Howard said:

On Mon, 31 Dec 2007 03:09:36 -0600, Richard Heathfield wrote
(in article <dfydndBlZL1oLeXanZ2dnUVZ8tninZ2d@xxxxxx>):

Malcolm McLean said:

<snip>

The &name; format is dependent on ASCII

No, it isn't. The same syntax can be used in any character set that
supports the lower case letters, the ampersand, and the semicolon. And
the same *idea* could be used even if those specific characters were not
available. EBCDIC, which obviously does support the ampersand and
semicolon, could support that format easily.

Some extension of trigraphs springs to mind :)

Well, trigraphs are a bit of a wart, but yes, they have their uses, and
yes, they illustrate that an encoding scheme for otherwise unencoded
characters does not depend on the specific base encoding scheme. That is,
trigraphs work just fine in ASCII and in EBCDIC. And so could a scheme
that uses &code; syntax.

--
Richard Heathfield <http://www.cpax.org.uk>
Email: -http://www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
.



Relevant Pages

  • Re: Be afraid of XML
    ... > XML is a general tree syntax suitable for world-wide use. ... Other nesting characters are asymmetric and can be used multiple levels ... See how braces are regular text when quoted by brackets, ...
    (comp.lang.lisp)
  • Re: Accessing syntax tables flag info
    ... are used as comment characters in the current buffer's major mode. ... This has led me to examine syntax tables. ... Having written several major modes for various programming ...
    (comp.emacs)
  • Re: Trigraphs
    ... Trigraphs have no effect on code quality. ... that are "just as good" as the problematic characters. ... some European environments where that was a relatively common ...
    (comp.std.c)
  • String handling in .txt file.
    ... have been developed with some compiler specific syntax. ... down to just a few syntax errors and am hoping for the final nudge. ... text stream to a printer on LPT1. ... characters that cause the routine to abort. ...
    (alt.comp.lang.learn.c-cpp)
  • Re: extended operators
    ... portion of it within the PL standard. ... Actually trigraphs handle all those situations. ... real problems with those characters. ... replacer" would need to be available, ...
    (comp.std.c)