Re: another C-like language? was Compilers :)

"marb...@yahoo.co.uk" <marblypup@yahoo.co.uk>
Sun, 15 Jan 2023 04:21:52 -0800 (PST)

          From comp.compilers

Related articles
[17 earlier articles]
Re: another C-like language? was Compilers :) 864-117-4973@kylheku.com (Kaz Kylheku) (2023-01-11)
Re: another C-like language? was Compilers :) findlaybill@blueyonder.co.uk (Bill Findlay) (2023-01-11)
Re: another C-like language? was Compilers :) david.brown@hesbynett.no (David Brown) (2023-01-11)
Re: another C-like language? was Compilers :) laguest@archeia.com (Luke A. Guest) (2023-01-13)
Re: another C-like language? was Compilers :) gneuner2@comcast.net (George Neuner) (2023-01-13)
Re: another C-like language? was Compilers :) 864-117-4973@kylheku.com (Kaz Kylheku) (2023-01-14)
Re: another C-like language? was Compilers :) marblypup@yahoo.co.uk (marb...@yahoo.co.uk) (2023-01-15)
Re: another C-like language? was Compilers :) marblypup@yahoo.co.uk (marb...@yahoo.co.uk) (2023-01-15)
Re: another C-like language? was Compilers :) anw@cuboid.co.uk (Andy Walker) (2023-01-15)
| List of all articles for this month |

From: "marb...@yahoo.co.uk" <marblypup@yahoo.co.uk>
Newsgroups: comp.compilers
Date: Sun, 15 Jan 2023 04:21:52 -0800 (PST)
Organization: Compilers Central
References: 23-01-001 23-01-002 23-01-003 23-01-008 23-01-016 23-01-029 23-01-037
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="38945"; mail-complaints-to="abuse@iecc.com"
Keywords: algol68, history
Posted-Date: 15 Jan 2023 13:10:36 EST
In-Reply-To: 23-01-037

On Wednesday, 11 January 2023 at 23:07:33 UTC, Thomas Koenig wrote:
> Algol 58
> aka IAL had declarations everywere, while Algol 60 allowed them
> only at the beginning of blocks.


But Algol 68 allows them anywhere:


INT x:=42;
print(("x=",x,newline));
INT y:=76;
print(("y=",y,newline));
x:=y:=101;
print(("x=",x,newline,"y=",y,newline))


(There's something a bit weird about it in A68, though, but I can't remember what.)
(I tend to think of A68 as "A60 made perfect... then some dubious
features are added". I gather it took 6 years to write the first
complete A68 compiler! Well, strictly speaking, they'd revised A68 by
then, so it was an A68R compiler.)


Post a followup to this message

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