Re: Ichbiah 2022 compiler mode

Liste des GroupesRevenir à cl ada 
Sujet : Re: Ichbiah 2022 compiler mode
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.lang.ada
Date : 06. Sep 2024, 02:58:05
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vbdk2t$hj0r$6@dont-email.me>
References : 1 2
User-Agent : Pan/0.160 (Toresk; )
On Thu, 5 Sep 2024 19:03:22 -0500, Randy Brukardt wrote:

Keyword "variable" is needed to declare variables (we do not want the
worst option to be the easiest to write, as it is in Ada).

One language idea I toyed with years ago was that

    «name» : «type»;

declared a variable, while

    «name» : «type» := «value»;

declared a constant. So, no initialization of variables at declaration
time allowed.

(10) Variable-returning functions are introduced.

Is this like updater functions in POP-11, or “setf” in Lisp? So you have a
procedure

    set_var(«var», «new value»)

which is declared to be attached to «var» in some way, such that when you
write

    «var» := «new_value»

this automatically invokes set_var?

Date Sujet#  Auteur
5 Sep 24 * Ichbiah 2022 compiler mode30Kevin Chadwick
5 Sep 24 +* Re: Ichbiah 2022 compiler mode6Jeffrey R.Carter
5 Sep 24 i+* Re: Ichbiah 2022 compiler mode2Bill Findlay
5 Sep 24 ii`- Re: Ichbiah 2022 compiler mode1Jeffrey R.Carter
5 Sep 24 i+- Re: Ichbiah 2022 compiler mode1Kevin Chadwick
5 Sep 24 i`* Re: Ichbiah 2022 compiler mode2Kevin Chadwick
5 Sep 24 i `- Re: Ichbiah 2022 compiler mode1Jeffrey R.Carter
6 Sep 24 +* Re: Ichbiah 2022 compiler mode21Randy Brukardt
6 Sep 24 i+* Re: Ichbiah 2022 compiler mode5Lawrence D'Oliveiro
12 Sep 24 ii`* Re: Ichbiah 2022 compiler mode4Randy Brukardt
13 Sep 24 ii `* Re: Ichbiah 2022 compiler mode3Lawrence D'Oliveiro
14 Sep 24 ii  `* Re: Ichbiah 2022 compiler mode2Randy Brukardt
14 Sep 24 ii   `- Re: Ichbiah 2022 compiler mode1Lawrence D'Oliveiro
6 Sep 24 i`* Re: Ichbiah 2022 compiler mode15Simon Wright
7 Sep 24 i `* Re: Ichbiah 2022 compiler mode14Niklas Holsti
7 Sep 24 i  +- Re: Ichbiah 2022 compiler mode1Nioclás Pól Caileán de Ghloucester
12 Sep 24 i  `* Re: Ichbiah 2022 compiler mode12Randy Brukardt
12 Sep 24 i   +* Re: Ichbiah 2022 compiler mode5Niklas Holsti
12 Sep 24 i   i+- Re: Ichbiah 2022 compiler mode1Dmitry A. Kazakov
12 Sep 24 i   i`* Re: Ichbiah 2022 compiler mode3Kevin Chadwick
12 Sep 24 i   i +- Re: Ichbiah 2022 compiler mode1Niklas Holsti
13 Sep 24 i   i `- Re: Ichbiah 2022 compiler mode1Nioclás Pól Caileán de Ghloucester
12 Sep 24 i   `* Re: Ichbiah 2022 compiler mode6J-P. Rosen
12 Sep 24 i    `* Re: Ichbiah 2022 compiler mode5Niklas Holsti
14 Sep 24 i     `* Re: Ichbiah 2022 compiler mode4Randy Brukardt
14 Sep 24 i      +- Re: Ichbiah 2022 compiler mode1Dmitry A. Kazakov
14 Sep 24 i      +- Re: Ichbiah 2022 compiler mode1Lawrence D'Oliveiro
14 Sep 24 i      `- Re: Ichbiah 2022 compiler mode1Niklas Holsti
6 Sep 24 `* Re: Ichbiah 2022 compiler mode2Jeffrey R.Carter
6 Sep 24  `- Re: Ichbiah 2022 compiler mode1Nioclás Pól Caileán de Ghloucester

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal