Article View: comp.arch
Article #181Re: Documentation (was Re: Performance of xchg reg,reg)
From: George Neuner
Date: Sun, 18 Oct 2026 13:45
Date: Sun, 18 Oct 2026 13:45
40 lines
2954 bytes
2954 bytes
On Sat, 17 Oct 2026 20:54:44 -0000 (UTC), Lawrence D´Oliveiro <ldo@nz.invalid> wrote: >On Sat, 17 Oct 2026 19:39:42 GMT, MitchAlsup wrote: > >> Writing high quality documentation is fundamentally hard. > >Isn’t that why formal specification languages were invented? For some >reason they never caught on. > >For a classic example, look at the Algol-68 language spec. Yet many >people threw up their hands in horror at how it was written. The problem with the original report was that they attempted with the grammar turn [at least some kinds of] semantic errors into syntax errors. Note that the *revised* report used a different grammar - something they called "NEST": still 2-level, still very complex [though less so than the original vW grammar], but they did not try to encode semantics directly, instead referencing discussions in accompanying text. I read both 68 reports - original and revised. Mind you it was long ago, but my recollection is that the revised report really wasn't any more understandable than the original ... just longer because the NEST formalism was somewhat less expressive than the vW. YMMV. >> It took me nearly 40 years of doing so to get to the point a >> mischievous engineer could NOT misunderstand what I had written. > >Presumably you include lots of examples? I remember something Jerry >Pournelle said, critiquing the product documentation he had to read >for his columns in “BYTE” magazine, back in the day: “You can never >have too many examples”. +1
Technical Details
Message-ID:
<kqg9dl5oj9l0dih5kvnrif2fv91ns8lgs3@4ax.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<2026Oct13.104347@mips.complang.tuwien.ac.at> <11au1vu$3ks5m$2@dont-email.me> <11aunpn$8c6$1@reader2.panix.com> <1792257076-5857@newsgrouper.org> <11b0bd3$b5b$1@reader2.panix.com> <1792265982-5857@newsgrouper.org> <11b0nak$iems$9@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: George Neuner <gneuner2@comcast.net> Newsgroups: comp.arch Subject: Re: Documentation (was Re: Performance of xchg reg,reg) Date: Sun, 18 Oct 2026 09:45:00 -0400 Organization: A noiseless patient Spider Lines: 40 Message-ID: <kqg9dl5oj9l0dih5kvnrif2fv91ns8lgs3@4ax.com> References: <2026Oct13.104347@mips.complang.tuwien.ac.at> <11au1vu$3ks5m$2@dont-email.me> <11aunpn$8c6$1@reader2.panix.com> <1792257076-5857@newsgrouper.org> <11b0bd3$b5b$1@reader2.panix.com> <1792265982-5857@newsgrouper.org> <11b0nak$iems$9@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Sun, 18 Oct 2026 13:45:02 +0000 (UTC) Injection-Info: dont-email.me; logging-data="1250707"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/KQVpI+1Kv9uG6HiLzOuA5KhET2PUL5yo="; posting-host="dca0e08aea4080b20dea070a6d1ba755" User-Agent: ForteAgent/8.00.32.1272 Cancel-Lock: sha1:a/a/OnKPer+ufDRcv6aIaahiUz4= sha256:NelELPhqOts7BHCfe4+mU3hUOLPyJqZgkSOhOTqkXp8= sha1:CoCbI7Oi6ZOZr7UsKn1x5YzQMlk= sha256:Ltl/se0NCgAHNQBUT324YCKgFDCgz5MhqyvR8uLUYDc=