Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.compilers > #2830 > unrolled thread
| Started by | Christopher F Clark <christopher.f.clark@compiler-resources.com> |
|---|---|
| First post | 2022-01-14 22:42 +0200 |
| Last post | 2022-01-14 22:42 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.compilers
What is the meaning of an expression? Christopher F Clark <christopher.f.clark@compiler-resources.com> - 2022-01-14 22:42 +0200
| From | Christopher F Clark <christopher.f.clark@compiler-resources.com> |
|---|---|
| Date | 2022-01-14 22:42 +0200 |
| Subject | What is the meaning of an expression? |
| Message-ID | <22-01-054@comp.compilers> |
I wouldn't use either of the statements in a compiler construction context: The meaning of an expression is the value of an expression. The semantics of an expression is the value of an expression. Although if I had to imagine using one of those two sentences, I could vaguely imagine using the former? As in "what does 1 + 1 mean?" It means "add one and one together, the answer being two". But, even in that case, I wouldn't make it a blanket statement. You have to contrive an example where you would use a statement like that and it isn't particularly natural. Most importantly, it isn't something general. This is as close as I can imagine coming: "In a value oriented language, the meaning of an expression is the value of an expression". So, I heartily agree with our esteemed moderator. Don't believe everything you read. -- ****************************************************************************** Chris Clark email: christopher.f.clark@compiler-resources.com Compiler Resources, Inc. Web Site: http://world.std.com/~compres 23 Bailey Rd voice: (508) 435-5016 Berlin, MA 01503 USA twitter: @intel_chris ------------------------------------------------------------------------------
Back to top | Article view | comp.compilers
csiph-web