Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #152849

Re: How to understand official C document- ISO/IEC 9899:201x

From Tim Rentsch <tr.17687@z991.linuxsc.com>
Newsgroups comp.lang.c
Subject Re: How to understand official C document- ISO/IEC 9899:201x
Date 2020-06-20 05:13 -0700
Organization A noiseless patient Spider
Message-ID <86h7v6j5pp.fsf@linuxsc.com> (permalink)
References (1 earlier) <rb7b8i$ma0$1@dont-email.me> <rb7u1o$13gi$1@gioia.aioe.org> <rb8bhr$i1u$1@dont-email.me> <rb90ts$16gd$1@gioia.aioe.org> <rbbmhr$aj5$5@dont-email.me>

Show all headers | View raw


Vir Campestris <vir.campestris@invalid.invalid> writes:

> On 03/06/2020 21:24, Avicenna wrote:
>
>> Yes!  It is very clear now.  The problem is there is a 'space' in
>> "identifier identifier-nondigit".
>> Probably everyone could just understand it is simple
>> concatenations to form the parts.
>>
>> I think I'll follow along this example to see if I could
>> understand the other parts of C syntax.
>
> Be aware however that the specifications are written to be
> precise.

Certainly the expectation is that the syntax rules in the ISO
Standard accurately describe all possibly legal C programs
(including some that may be rejected for non-syntax reasons such
as constraint violations, et cetera).

> They are definitely not written to be comprehensible.

I believe the syntax rules for C were in fact written so that
they would be comprehensible, including the earlier formulation
in "The C Programming Language" by Kernighan and Ritchie.

Furthermore the authors have in my view done a pretty good job of
doing that.  I find the grammar given in the ISO C standard to be
decidedly easier to understand than the grammars of lots of other
languages I've looked at.

Back to comp.lang.c | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

How to understand official C document- ISO/IEC 9899:201x Avicenna <itsme.susila@gmx.com> - 2020-06-03 11:49 +0800
  Re: How to understand official C document- ISO/IEC 9899:201x James Kuyper <jameskuyper@alumni.caltech.edu> - 2020-06-03 01:08 -0400
    Re: How to understand official C document- ISO/IEC 9899:201x Avicenna <itsme.susila@gmx.com> - 2020-06-03 15:30 +0800
      Re: How to understand official C document- ISO/IEC 9899:201x James Kuyper <jameskuyper@alumni.caltech.edu> - 2020-06-03 04:03 -0400
    Re: How to understand official C document- ISO/IEC 9899:201x Avicenna <itsme.susila@gmx.com> - 2020-06-03 18:29 +0800
      Re: How to understand official C document- ISO/IEC 9899:201x Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2020-06-03 03:46 -0700
      Re: How to understand official C document- ISO/IEC 9899:201x Ben Bacarisse <ben.usenet@bsb.me.uk> - 2020-06-03 12:55 +0100
        Re: How to understand official C document- ISO/IEC 9899:201x Bart <bc@freeuk.com> - 2020-06-03 13:55 +0100
          Re: How to understand official C document- ISO/IEC 9899:201x Ben Bacarisse <ben.usenet@bsb.me.uk> - 2020-06-03 16:09 +0100
      Re: How to understand official C document- ISO/IEC 9899:201x James Kuyper <jameskuyper@alumni.caltech.edu> - 2020-06-03 10:19 -0400
        Re: How to understand official C document- ISO/IEC 9899:201x Avicenna <itsme.susila@gmx.com> - 2020-06-04 04:24 +0800
          Re: How to understand official C document- ISO/IEC 9899:201x Vir Campestris <vir.campestris@invalid.invalid> - 2020-06-04 21:45 +0100
            Re: How to understand official C document- ISO/IEC 9899:201x Avicenna <itsme.susila@gmx.com> - 2020-06-05 22:29 +0800
            Re: How to understand official C document- ISO/IEC 9899:201x Tim Rentsch <tr.17687@z991.linuxsc.com> - 2020-06-20 05:13 -0700
      Re: How to understand official C document- ISO/IEC 9899:201x scott@slp53.sl.home (Scott Lurndal) - 2020-06-11 15:39 +0000
      Re: How to understand official C document- ISO/IEC 9899:201x Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2020-06-11 16:50 -0600
  Re: How to understand official C document- ISO/IEC 9899:201x Bart <bc@freeuk.com> - 2020-06-03 11:42 +0100
  Re: How to understand official C document- ISO/IEC 9899:201x fir <profesor.fir@gmail.com> - 2020-06-06 01:57 -0700
  Re: How to understand official C document- ISO/IEC 9899:201x John Bode <jfbode1029@gmail.com> - 2020-06-08 07:34 -0700

csiph-web