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


Groups > comp.lang.c > #141244

Re: Interpretation of EBNF

From Keith Thompson <kst-u@mib.org>
Newsgroups comp.lang.c
Subject Re: Interpretation of EBNF
Date 2019-02-24 12:34 -0800
Organization None to speak of
Message-ID <lnwolporh8.fsf@kst-u.example.com> (permalink)
References <EBNF-20190224151913@ram.dialup.fu-berlin.de>

Show all headers | View raw


ram@zedat.fu-berlin.de (Stefan Ram) writes:
>   The EBNF of C reads (excerpt):
>
> unary-expression:
> postfix-expression
> unary-operator unary-expression
>
>   . The following question surely serves no practical demand,
>   but just for the sake of correctly interpreting EBNF:
>
>   The above surely allows a unary expression to be preceded
>   by a finite number of minus signs (unary operators).
>
>   When there is an infinite number (say Aleph_0) of minus signs
>   and then a unary-expression, is this also a unary expression?

I'll let you know as soon as I finish parsing this infinite input.

-- 
Keith Thompson (The_Other_Keith) kst-u@mib.org  <http://www.ghoti.net/~kst>
Will write code for food.
void Void(void) { Void(); } /* The recursive call of the void */

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


Thread

Re: Interpretation of EBNF Keith Thompson <kst-u@mib.org> - 2019-02-24 12:34 -0800
  Re: Interpretation of EBNF David Brown <david.brown@hesbynett.no> - 2019-02-25 09:57 +0100

csiph-web