Re: syntax complexity

Nils M Holm <>
Tue, 21 Feb 2023 21:26:00 +0100

          From comp.compilers

Related articles
[4 earlier articles]
Re: syntax complexity (gah4) (2023-02-16)
Re: syntax complexity (Roger L Costello) (2023-02-20)
Re: syntax complexity (gah4) (2023-02-20)
Re: syntax complexity (George Neuner) (2023-02-20)
Re: syntax complexity (2023-02-21)
syntax complexity (Christopher F Clark) (2023-02-21)
Re: syntax complexity (Nils M Holm) (2023-02-21)
Re: syntax complexity (2023-02-21)
| List of all articles for this month |

From: Nils M Holm <>
Newsgroups: comp.compilers
Date: Tue, 21 Feb 2023 21:26:00 +0100
Organization: TARFU
Injection-Info:; posting-host=""; logging-data="36949"; mail-complaints-to=""
Keywords: history, syntax
Posted-Date: 21 Feb 2023 16:19:28 EST

Anton Ertl <> wrote:
> Of course, better than either solution is to design the language to
> require that an IF-statement is terminated with, e.g., fi (Algol 68) or END
> (Modula-2).

Or you can have two different statement types for IF with and
without an alternative branch. For example, BCPL has

IF expression THEN statement


TEST expression THEN statement ELSE statement

Nils M Holm < n m h @ t 3 x . o r g >

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.