Re: What is the meaning of an expression?

George Neuner <gneuner2@comcast.net>
Sat, 15 Jan 2022 02:05:10 -0500

          From comp.compilers

Related articles
What is the meaning of an expression? costello@mitre.org (Roger L Costello) (2022-01-14)
Re: What is the meaning of an expression? anton@mips.complang.tuwien.ac.at (2022-01-14)
What is the meaning of an expression? christopher.f.clark@compiler-resources.com (Christopher F Clark) (2022-01-14)
Re: What is the meaning of an expression? DrDiettrich1@netscape.net (Hans-Peter Diettrich) (2022-01-15)
Re: What is the meaning of an expression? gah4@u.washington.edu (gah4) (2022-01-14)
Re: What is the meaning of an expression? gneuner2@comcast.net (George Neuner) (2022-01-15)
Re: What is the meaning of an expression? matt.timmermans@gmail.com (matt.ti...@gmail.com) (2022-01-15)
Re: What is the meaning of an expression? 0xe2.0x9a.0x9b@gmail.com (Jan Ziak) (2022-01-16)
Re: What is the meaning of an expression? 0xe2.0x9a.0x9b@gmail.com (Jan Ziak) (2022-01-17)
Re: What is the meaning of an expression? 0xe2.0x9a.0x9b@gmail.com (Jan Ziak) (2022-01-18)
Re: What is the meaning of an expression? gah4@u.washington.edu (gah4) (2022-01-18)
Re: What is the meaning of an expression? DrDiettrich1@netscape.net (Hans-Peter Diettrich) (2022-01-19)
[8 later articles]
| List of all articles for this month |
From: George Neuner <gneuner2@comcast.net>
Newsgroups: comp.compilers
Date: Sat, 15 Jan 2022 02:05:10 -0500
Organization: A noiseless patient Spider
References: 22-01-052
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

On Fri, 14 Jan 2022 12:15:06 +0000, Roger L Costello
<costello@mitre.org> 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. <grin>


The statement is not "crazy" per se, but certainly it is context
dependent and doesn't have any meaning beyond that context.




YMMV,
George


Post a followup to this message

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