Re: What is the meaning of an expression?

Jan Ziak <0xe2.0x9a.0x9b@gmail.com>
Tue, 18 Jan 2022 10:03:06 -0800 (PST)

          From comp.compilers

Related articles
[3 earlier articles]
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)
Re: What is the meaning of an expression? 0xe2.0x9a.0x9b@gmail.com (Jan Ziak) (2022-01-19)
Re: What is the meaning of an expression? christopher.f.clark@compiler-resources.com (Christopher F Clark) (2022-01-19)
Re: What is the meaning of an expression? tkoenig@netcologne.de (Thomas Koenig) (2022-01-19)
Re: What is the meaning of an expression? gah4@u.washington.edu (gah4) (2022-01-19)
[4 later articles]
| List of all articles for this month |
From: Jan Ziak <0xe2.0x9a.0x9b@gmail.com>
Newsgroups: comp.compilers
Date: Tue, 18 Jan 2022 10:03:06 -0800 (PST)
Organization: Compilers Central
References: <AdgJPKhi/NiNfECvRNaA6+4Wq/M8OQ==> 22-01-052 22-01-060 22-01-066
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="62251"; mail-complaints-to="abuse@iecc.com"
Keywords: semantics, comment
Posted-Date: 18 Jan 2022 13:25:09 EST
In-Reply-To: 22-01-066

> Now we're even deeper in the tarpit. Is the "meaning" a mathematical statement,
> an instruction to a compiler to generate code computing the value of an expression,
> something else? I don't know, and it's pretty clear none of the rest of us do either.
> -John


In my opinion, your comments are moving this discussion in the wrong
direction. In the context of compilers: a compiler isn't in control of the
meaning of the source code input into the compiler, because the input might be
a Universal Turing Machine. The compiler knows for certain that the source
code is moving a machine from one state to another state (while not in a
terminating state: perform a state transition) while the source code is being
executed - a compiler isn't trying to answer the question of what the _final_
meanings of those state transitions are. If the compiler tried to answer such
a question, then the compiler might never stop compiling the source code. The
set of terminating states is specified by the source code, not by the
compiler.


-atom
[If you go back the the start of the thread, someone asked about
a statement that "The meaning of an expression is the value of the expression."
I suppose we could ask what it means to a compiler but that seems awfully
anthropomorphic. -John]


Post a followup to this message

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