Path: csiph.com!weretis.net!feeder6.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!nerds-end From: "marb...@yahoo.co.uk" Newsgroups: comp.compilers Subject: Re: another C-like language? was Compilers :) Date: Sun, 15 Jan 2023 04:21:52 -0800 (PST) Organization: Compilers Central Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <23-01-059@comp.compilers> References: <23-01-001@comp.compilers> <23-01-002@comp.compilers> <23-01-003@comp.compilers> <23-01-008@comp.compilers> <23-01-016@comp.compilers> <23-01-029@comp.compilers> <23-01-037@comp.compilers> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" 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 X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com In-Reply-To: <23-01-037@comp.compilers> Xref: csiph.com comp.compilers:3327 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.)