Groups | Search | Server Info | Login | Register


Groups > comp.lang.misc > #11581

Re: Algol 68 - array of procedures aligned at index 0 ?

From Janis Papanagnou <janis_papanagnou+ng@hotmail.com>
Newsgroups comp.lang.misc
Subject Re: Algol 68 - array of procedures aligned at index 0 ?
Date 2025-11-09 19:11 +0100
Organization A noiseless patient Spider
Message-ID <10eqlh4$3erkc$1@dont-email.me> (permalink)
References (11 earlier) <10eigjl$16f7h$1@dont-email.me> <10elnuv$1o3n6$3@dont-email.me> <10emel6$2mq8e$1@paganini.bofh.team> <10en6ch$2gh04$1@dont-email.me> <10eqi8u$336v1$2@paganini.bofh.team>

Show all headers | View raw


On 09.11.2025 18:16, Waldek Hebisch wrote:
> Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:
>> On 08.11.2025 04:50, Waldek Hebisch wrote:
>>> Andy Walker <anw@cuboid.co.uk> wrote:
>>>>
>>>>        The real catastrophe was nothing to do with Algol 68 as a language
>>>> but was the fact that, for fear of being mocked by Wirth and others, newer
>>>> languages never have a proper formal definition.
>>>
>>> Algol 68 definition is hard to read and due to this almost useless.
>>
>> Whether things are useful or useless lies usually in the eye of the
>> beholder.
>>
>>> Now we know better how to give formal definitions.  Pascal standard
>>> give precise and reasonably readible definition of the language
>>> (even if is is not as formal as you wish).  Scheme, SML and
>>> Haskel claim to have formal definition of semantics, something
>>> which IIUC Algol 68 did _not_ have.
>>
>> I can't tell about all [the formal definitions of] the languages you
>> enumerate here. For Pascal we certainly cannot compare with Algol 68;
>> Pascal is a comparably very simple language.
> 
> Classic Pascal yes.  Extended Pascal has no overloading and its
> input/output support is limited.  Extended Pascal supports
> functions as parameters, but not as a full-fledged type. 

"Classic" (standard) Pascal (also) supported procedures and functions
as parameters.

> But
> otherwise I am not aware of _useful_ Algol 68 features missing
> from Extended Pascal.

(Sentences with fuzzy subjective qualifications like "useful" can be
omitted without loss. - Unless the sole intention is sharing personal
preferences.)

> 
>> In Algol, for example,
>> you can define semantics of expressions by own operator definitions
>> and operator _priority_ definitions, which affects the syntax tree.
> 
> That is kind of trivial property: after parsing it does not matter

It matters *before* creating the parse tree.

> if it is an operator or a function (and what priority is assigned to
> operator).  To implement such feature one needs some restrictions
> on syntax (basically one has to limit lookahead so that operator
> specification can be parsed before one need to use it).

You are not addressing the topic of the quote; operator priority.

> 
> Things would get complex if operator priority could depend on
> types, but my impession was that Algol 68 does not provide such
> a feature.

This is correct.

Janis

> 
>> If you don't allow for that things get simpler but not necessarily
>> better; e.g. C++ has also support for user defined operators, but (as
>> opposed to Algol 68) with fixed priorities. This has consequences;
>> one, you don't need a 2-level grammar like van Wijngaarden's grammar,
>> but then you also buy strange syntax requirements like, e.g., in the
>> precedence of the '<<' output operator, that may make it necessary
>> to put parenthesis around printed expressions.
>>
>> I see that Lawrence provided yet more facts on that useful to know.
>>
>> Janis
>>
>>> [...]
>>
> 

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


Thread

Algol 68 - array of procedures aligned at index 0 ? Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-11-01 16:00 +0100
  Re: Algol 68 - array of procedures aligned at index 0 ? Andy Walker <anw@cuboid.co.uk> - 2025-11-01 20:54 +0000
    Re: Algol 68 - array of procedures aligned at index 0 ? Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-11-02 07:33 +0100
      Re: Algol 68 - array of procedures aligned at index 0 ? Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-11-02 09:50 +0100
      Re: Algol 68 - array of procedures aligned at index 0 ? Andy Walker <anw@cuboid.co.uk> - 2025-11-02 11:10 +0000
        Re: Algol 68 - array of procedures aligned at index 0 ? bart <bc@freeuk.com> - 2025-11-02 11:44 +0000
          Re: Algol 68 - array of procedures aligned at index 0 ? Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-11-02 13:12 +0100
            Re: Algol 68 - array of procedures aligned at index 0 ? Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-11-02 13:23 +0100
          Re: Algol 68 - array of procedures aligned at index 0 ? Andy Walker <anw@cuboid.co.uk> - 2025-11-03 00:42 +0000
            Re: Algol 68 - array of procedures aligned at index 0 ? bart <bc@freeuk.com> - 2025-11-03 15:03 +0000
              Re: Algol 68 - array of procedures aligned at index 0 ? Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-11-03 16:40 +0100
                Re: Algol 68 - array of procedures aligned at index 0 ? bart <bc@freeuk.com> - 2025-11-03 17:00 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-11-03 21:02 +0100
                Re: Algol 68 - array of procedures aligned at index 0 ? bart <bc@freeuk.com> - 2025-11-03 20:34 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-11-03 22:35 +0100
                Re: Algol 68 - array of procedures aligned at index 0 ? bart <bc@freeuk.com> - 2025-11-03 23:37 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-11-04 07:16 +0100
                Re: Algol 68 - array of procedures aligned at index 0 ? bart <bc@freeuk.com> - 2025-11-04 11:10 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? David Brown <david.brown@hesbynett.no> - 2025-11-04 16:46 +0100
                Re: Algol 68 - array of procedures aligned at index 0 ? bart <bc@freeuk.com> - 2025-11-04 16:17 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-11-04 17:26 +0100
                Re: Algol 68 - array of procedures aligned at index 0 ? David Brown <david.brown@hesbynett.no> - 2025-11-04 17:49 +0100
                Re: Algol 68 - array of procedures aligned at index 0 ? Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-11-04 18:38 +0100
                Re: Algol 68 - array of procedures aligned at index 0 ? bart <bc@freeuk.com> - 2025-11-04 19:30 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? David Brown <david.brown@hesbynett.no> - 2025-11-04 21:04 +0100
                Homebrew languages (was: Algol 68 - array of procedures aligned at index 0 ?) bart <bc@freeuk.com> - 2025-11-06 00:39 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-11-05 12:52 +0100
                Re: Algol 68 - array of procedures aligned at index 0 ? bart <bc@freeuk.com> - 2025-11-05 14:02 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? bart <bc@freeuk.com> - 2025-11-04 18:28 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? David Brown <david.brown@hesbynett.no> - 2025-11-04 21:14 +0100
                Re: Algol 68 - array of procedures aligned at index 0 ? bart <bc@freeuk.com> - 2025-11-03 17:32 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-11-03 20:28 +0100
                Re: Algol 68 - array of procedures aligned at index 0 ? bart <bc@freeuk.com> - 2025-11-03 20:10 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-11-03 22:31 +0100
                Re: Algol 68 - array of procedures aligned at index 0 ? bart <bc@freeuk.com> - 2025-11-04 12:24 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? David Brown <david.brown@hesbynett.no> - 2025-11-04 17:02 +0100
                Re: Algol 68 - array of procedures aligned at index 0 ? Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-11-05 12:25 +0100
                Re: Algol 68 - array of procedures aligned at index 0 ? Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-11-05 14:12 +0100
                Re: Algol 68 - array of procedures aligned at index 0 ? bart <bc@freeuk.com> - 2025-11-05 14:28 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-11-06 08:29 +0100
                Re: Algol 68 - array of procedures aligned at index 0 ? bart <bc@freeuk.com> - 2025-11-06 14:18 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? bart <bc@freeuk.com> - 2025-11-06 15:58 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? Andy Walker <anw@cuboid.co.uk> - 2025-11-07 21:22 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-07 23:13 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-11-08 03:17 +0100
                Re: Algol 68 - array of procedures aligned at index 0 ? antispam@fricas.org (Waldek Hebisch) - 2025-11-08 03:50 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-08 04:47 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? bart <bc@freeuk.com> - 2025-11-08 12:42 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-08 21:37 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? bart <bc@freeuk.com> - 2025-11-09 20:34 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-09 21:08 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? antispam@fricas.org (Waldek Hebisch) - 2025-11-09 16:58 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-11-08 11:34 +0100
                Re: Algol 68 - array of procedures aligned at index 0 ? antispam@fricas.org (Waldek Hebisch) - 2025-11-09 17:16 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-11-09 19:11 +0100
                Re: Algol 68 - array of procedures aligned at index 0 ? Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-09 20:58 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? antispam@fricas.org (Waldek Hebisch) - 2025-11-10 13:56 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-10 20:52 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? antispam@fricas.org (Waldek Hebisch) - 2025-11-11 12:53 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-11 20:51 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? David Brown <david.brown@hesbynett.no> - 2025-11-06 17:14 +0100
                Re: Algol 68 - array of procedures aligned at index 0 ? Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-11-06 19:41 +0100
                Re: Algol 68 - array of procedures aligned at index 0 ? bart <bc@freeuk.com> - 2025-11-06 22:01 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? bart <bc@freeuk.com> - 2025-11-08 12:24 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? Andy Walker <anw@cuboid.co.uk> - 2025-11-07 23:33 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? Andy Walker <anw@cuboid.co.uk> - 2025-11-04 00:35 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-11-04 07:07 +0100
                Re: Algol 68 - array of procedures aligned at index 0 ? bart <bc@freeuk.com> - 2025-11-04 14:57 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? Andy Walker <anw@cuboid.co.uk> - 2025-11-05 23:59 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? bart <bc@freeuk.com> - 2025-11-06 01:03 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-11-06 07:40 +0100
                Re: Algol 68 - array of procedures aligned at index 0 ? bart <bc@freeuk.com> - 2025-11-06 10:59 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? Andy Walker <anw@cuboid.co.uk> - 2025-11-06 16:59 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? bart <bc@freeuk.com> - 2025-11-06 17:58 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-06 20:14 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? bart <bc@freeuk.com> - 2025-11-06 22:16 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-06 22:47 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? Andy Walker <anw@cuboid.co.uk> - 2025-11-07 14:34 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? bart <bc@freeuk.com> - 2025-11-07 15:42 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? Andy Walker <anw@cuboid.co.uk> - 2025-11-07 16:50 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? bart <bc@freeuk.com> - 2025-11-07 19:49 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? bart <bc@freeuk.com> - 2025-11-07 20:01 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? Andy Walker <anw@cuboid.co.uk> - 2025-11-08 00:26 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? bart <bc@freeuk.com> - 2025-11-08 01:54 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-11-08 14:00 +0100
                Re: Algol 68 - array of procedures aligned at index 0 ? bart <bc@freeuk.com> - 2025-11-08 15:24 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? Andy Walker <anw@cuboid.co.uk> - 2025-11-10 00:11 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-10 00:43 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? David Brown <david.brown@hesbynett.no> - 2025-11-10 09:08 +0100
                Re: Algol 68 - array of procedures aligned at index 0 ? antispam@fricas.org (Waldek Hebisch) - 2025-11-10 13:28 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? ram@zedat.fu-berlin.de (Stefan Ram) - 2025-11-10 10:11 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? bart <bc@freeuk.com> - 2025-11-10 11:02 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? Andy Walker <anw@cuboid.co.uk> - 2025-11-10 15:00 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? antispam@fricas.org (Waldek Hebisch) - 2025-11-10 15:52 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? bart <bc@freeuk.com> - 2025-11-10 17:05 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-11-10 10:10 +0100
                Re: Algol 68 - array of procedures aligned at index 0 ? Andy Walker <anw@cuboid.co.uk> - 2025-11-10 15:48 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-11-07 17:59 +0100
                Re: Algol 68 - array of procedures aligned at index 0 ? bart <bc@freeuk.com> - 2025-11-07 18:39 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? bart <bc@freeuk.com> - 2025-11-12 11:01 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-12 20:47 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? bart <bc@freeuk.com> - 2025-11-12 22:22 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-12 23:28 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? bart <bc@freeuk.com> - 2025-11-13 01:31 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-11-13 09:35 +0100
                Re: Algol 68 - array of procedures aligned at index 0 ? bart <bc@freeuk.com> - 2025-11-13 11:37 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-04 01:05 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? bart <bc@freeuk.com> - 2025-11-04 01:24 +0000
                Re: Algol 68 - array of procedures aligned at index 0 ? Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-04 02:28 +0000

csiph-web