From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Proliferation of Reserved Words
Date: Fri, 4 Jun 2021 08:58:44 +0200 [thread overview]
Message-ID: <s9civ4$1fcr$1@gioia.aioe.org> (raw)
In-Reply-To: 87pmx2wleo.fsf@nosuchdomain.example.com
On 2021-06-04 01:58, Keith Thompson wrote:
> 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".
In a Unicode language it is much more, because many Latin glyphs like k,
e, y, o repeat in other alphabets. Furthermore, F, K, C appear as
special entries as degrees etc.
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
prev parent reply other threads:[~2021-06-04 6: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
2021-06-04 6:58 ` Dmitry A. Kazakov [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox