Path: ...!weretis.net!feeder9.news.weretis.net!news.quux.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Janis Papanagnou Newsgroups: comp.lang.c Subject: Re: question about linker Date: Thu, 19 Dec 2024 01:35:38 +0100 Organization: A noiseless patient Spider Lines: 34 Message-ID: References: <87ldwx10gv.fsf@bsb.me.uk> <86ser1kgp5.fsf@linuxsc.com> <87ldwtzlc0.fsf@nosuchdomain.example.com> <878qslwjj4.fsf@nosuchdomain.example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Date: Thu, 19 Dec 2024 01:35:39 +0100 (CET) Injection-Info: dont-email.me; posting-host="f544dcc2fa5d5f6ffa68c644d91742fc"; logging-data="2669927"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+N6sOwIpzES3GFo/1IWzrh" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 Cancel-Lock: sha1:YNHBngM3XdCO95QrZQ9OGON28iQ= In-Reply-To: X-Enigmail-Draft-Status: N1110 Bytes: 3194 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.) > [...]