Path: csiph.com!weretis.net!feeder6.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!nerds-end From: George Neuner Newsgroups: comp.compilers Subject: Re: What is the meaning of an expression? Date: Sat, 15 Jan 2022 02:05:10 -0500 Organization: A noiseless patient Spider Lines: 41 Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <22-01-057@comp.compilers> References: <22-01-052@comp.compilers> 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="51817"; mail-complaints-to="abuse@iecc.com" Keywords: parse, semantics Posted-Date: 15 Jan 2022 12:27:56 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:2833 On Fri, 14 Jan 2022 12:15:06 +0000, Roger L Costello wrote: >Hello Compiler Experts! > >In some book I read this statement: > > The meaning of an expression is > the value of the expression. > >For example, the meaning of this expression: > > 1 + 1 > >is 2. Just a guess, but it is possible that such a statement might have accompanied an example of syntax directed translation. >Is the statement something that you would say? Informally speaking to someone, I could see myself saying something like that. I would never write anything so profound. No matter what the context, I would (try to) make certain that it was understood that the statement pertained only to whatever currently was under discussion. >The mathematicians and linguists that I spoke to thought the statement >was crazy. No doubt. The statement is not "crazy" per se, but certainly it is context dependent and doesn't have any meaning beyond that context. YMMV, George