Sujet : Re: Top 10 most common hard skills listed on resumes...
De : 643-408-1753 (at) *nospam* kylheku.com (Kaz Kylheku)
Groupes : comp.lang.cDate : 06. Sep 2024, 20:58:50
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <20240906121628.92@kylheku.com>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
User-Agent : slrn/pre1.0.4-9 (Linux)
On 2024-09-06, James Kuyper <
jameskuyper@alumni.caltech.edu> wrote:
On Fri, 6 Sep 2024 10:35:16 +0100
Bart <bc@freeuk.com> wrote:
>
On 05/09/2024 22:37, James Kuyper wrote:
On 9/5/24 12:54, Kaz Kylheku wrote:
...
Both sides of an assignment can be complex expressions that
designate an object (though the right side need not).
So you've correctly identified the very fundamental asymmetry.
Sure, if you want to completely disregard all the cases where the
symmetry does exist.
>
Anything can be considered symmetric, if you ignore all the aspects of
it that are asymmetric. As a result, calling something symmetric for
that reason isn't worth commenting on.
One damning aspect of the symmetry argument is that the left
side of a C assignment cannot be an assignment.
a = b = c
of course that is valid syntax, but it does not represent
(a = b) = c; it is not an assignment which has an assignment
expression as its left constituent.
It cannot be flipped around the b = c assignment, because c = b = a
represents a rearrangement of the abstract syntax which goes
beyond just swapping two children of a binary node.
This is not like the unary-expression issue; it is not
removable by an alternative grammar.
Absolute symmetry of the constructs of a grammar which has associativity
and precedence an only exist at the abstract syntax tree level, in
which associativity and precedence has been resolved into structure.
-- TXR Programming Language: http://nongnu.org/txrCygnal: Cygwin Native Application Library: http://kylheku.com/cygnalMastodon: @Kazinator@mstdn.ca