Path: csiph.com!weretis.net!feeder6.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!nerds-end From: Robert Prins Newsgroups: comp.compilers Subject: Re: for or against equality, was Why are ambiguous grammars usually a bad idea? Date: Thu, 6 Jan 2022 19:07:20 +0000 Organization: A noiseless patient Spider Lines: 20 Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <22-01-021@comp.compilers> References: <17d70d74-1cf1-cc41-6b38-c0b307aeb35a@gkc.org.uk> <22-01-016@comp.compilers> <22-01-018@comp.compilers> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="47503"; mail-complaints-to="abuse@iecc.com" Keywords: design, comment Posted-Date: 06 Jan 2022 13:14:07 EST 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:2798 On 2022-01-06 08:11, David Brown wrote: > On 05/01/2022 11:25, Martin Ward wrote: > > Your tools should tell you if you are accidentally using a reserved word as an > identifier. Your language should not have reserved words, if PL/I (AD 1964) could already do without them... 'nuff said! Robert -- Robert AH Prins robert(a)prino(d)org The hitchhiking grandfather - https://prino.neocities.org/ Some REXX code for use on z/OS - https://prino.neocities.org/zOS/zOS-Tools.html [Just because it's possible to do something doesn't mean it is a good idea. A lot of us think a reasonable number of reserved words are fine and make it less likely that a typo will silently change the meaning of a program. -John]