Path: csiph.com!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news.iecc.com!.POSTED.news.iecc.com!nerds-end From: Bill Findlay Newsgroups: comp.compilers Subject: Re: Add nested-function support in a language the based on a stack-machine Date: Tue, 20 Mar 2018 12:49:45 +0000 Organization: Compilers Central Lines: 20 Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <18-03-081@comp.compilers> References: <6effed5e-6c90-f5f4-0c80-a03c61fd2127@gkc.org.uk> <18-03-042@comp.compilers> <18-03-047@comp.compilers> <18-03-075@comp.compilers> <18-03-079@comp.compilers> Reply-To: findlaybill@blueyonder.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="25004"; mail-complaints-to="abuse@iecc.com" Keywords: code, design Posted-Date: 20 Mar 2018 12:33:50 EDT X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com Xref: csiph.com comp.compilers:2016 On 20 Mar 2018, Anton Ertl wrote (in article<18-03-079@comp.compilers>): > Actually, it even took quite a while in the early years; e.g., IPL > (1956) had higher-order functions, Algol 60 didn't, Pascal (1970) did, > Ada-83 didn't (IIRC). Algol 60 and Wirth Pascal had exactly the same functional-parameter capability; i.e. both procedural and functional parameters were included, but neither language provided a way to specify their signatures. This was rectified for Pascal, with Wirth's approval, by the BSI Pascal standard and later by the bureaucratic variant of the latter known as ISO Pascal. (Ada 83 provided a clumsy way to do it by means of generics; later versions of Ada do it properly.) -- Bill Findlay