From: Keith Thompson <Keith.S.Thompson+u@gmail.com>
Subject: Re: Proliferation of Reserved Words
Date: Thu, 03 Jun 2021 16:58:23 -0700 [thread overview]
Message-ID: <87pmx2wleo.fsf@nosuchdomain.example.com> (raw)
In-Reply-To: 827c60f6-b008-468b-9ab4-cf110edff252n@googlegroups.com
AdaMagica <christ-usch.grein@t-online.de> writes:
> accept, entry vs. procedure, procedure body
>
> This discussion really is 40 years late. But entries and procedures are in fact very different beasts.
> A procedure is reentrant and has exactly one body.
> An entry is not reentrant and cannot be called recursively; it has no body, rather it may have as many accept statements as you like or feel necessary (it may even have none - what the heck!).
>
> So different keywords for them are quite reasonable.
>
> Thinking about this:
> Ultimatey, we could perhaps do with just one reserved word called keyword. Depending on the place where is stands makes it clear what it means:
> keyword I keyword 1..10 keyword
> X(I) := I + 1;
> Keyword;
>
> Hm, perhaps a bit extreme :-)
In a case-sensitive language, you can have 128 variations of "keyword".
keyword I Keyword 1..10 keyWord
X(I) := I + 1;
keyworD keyWord
Much more legible.
--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
Working, but not speaking, for Philips Healthcare
void Void(void) { Void(); } /* The recursive call of the void */
next prev parent reply other threads:[~2021-06-03 23:58 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-31 20:51 Proliferation of Reserved Words Jeffrey R. Carter
2021-05-31 21:27 ` Dmitry A. Kazakov
2021-06-01 5:54 ` Randy Brukardt
2021-06-01 7:40 ` Paul Rubin
2021-06-03 8:48 ` Robin Vowels
2021-06-01 9:51 ` Jeffrey R. Carter
2021-06-01 16:06 ` Simon Wright
2021-06-01 11:48 ` Luke A. Guest
2021-06-02 18:13 ` AdaMagica
2021-06-02 19:21 ` Dmitry A. Kazakov
2021-06-02 20:13 ` Chris Townley
2021-06-02 20:18 ` Jeffrey R. Carter
2021-06-02 23:23 ` Bill Findlay
2021-06-03 23:58 ` Keith Thompson [this message]
2021-06-04 6:58 ` Dmitry A. Kazakov
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox