Sujet : Re: question about linker
De : janis_papanagnou+ng (at) *nospam* hotmail.com (Janis Papanagnou)
Groupes : comp.lang.cDate : 19. Dec 2024, 01:35:38
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vjvpor$2hfb7$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
User-Agent : Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
On 18.12.2024 22:04, James Kuyper wrote:
On 12/12/24 06:38, Janis Papanagnou wrote:
[...]
My copy of K&R 1st edition has nothing remotely resembling that.
I think someone here already mentioned that the English version
looks different compared to the translation I've in my bookshelf.
(So I am not sure what your post is actually intending.[*])
(But that's anyway unimportant to the point I made; that you can
define semantical information like the precedence separately or
by syntax.[**])
Janis
PS: FYI; Some of your posts, James, arrive also in my mailbox.
[*] I've put (if you're interested) a scan of that page uploaded
here:
http://volatile.gridbug.de/KR_syntax-rotated90.pdf(But similar syntaxes for expressions can be found also in other
programming languages' contexts; see below.)
[**] There's various levels of abstraction possible. For example
- describe expressions in- or semi-formally (e.g. in Bolsky/Korn)
- describe them without precedence semantics ("K&R DE version")
- reflect operator precedence in syntax (quite typical)
- allow extensions/change of operators and precedence (Algol 68)
(Sometimes there's no clear line; e.g. part of the definitions
for expressions in Bolsky/Korn are like in the "K&R DE version",
and the precedence is defined by the order they are listed.)
[...]