Deutsch English Français Italiano |
<20241222112251.00004d29@yahoo.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Michael S <already5chosen@yahoo.com> Newsgroups: comp.lang.c Subject: Re: transpiling to low level C Date: Sun, 22 Dec 2024 11:22:51 +0200 Organization: A noiseless patient Spider Lines: 38 Message-ID: <20241222112251.00004d29@yahoo.com> References: <vjlh19$8j4k$1@dont-email.me> <vjn9g5$n0vl$1@raubtier-asyl.eternal-september.org> <vjnhsq$oh1f$1@dont-email.me> <vjnq5s$pubt$1@dont-email.me> <vjpn29$17jub$1@dont-email.me> <86ikrdg6yq.fsf@linuxsc.com> <vk78it$77aa$1@dont-email.me> <vk8a0e$l8sq$1@paganini.bofh.team> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Date: Sun, 22 Dec 2024 10:23:09 +0100 (CET) Injection-Info: dont-email.me; posting-host="000e2848ebbd9a4e710849036fc75e3f"; logging-data="588508"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX191SbhI1BWnOPObRGAKzpKHNWiJ0b1KPEY=" Cancel-Lock: sha1:Kr8KpApyCqak8Z1e/rFDmBcfOlM= X-Newsreader: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-w64-mingw32) Bytes: 2463 On Sun, 22 Dec 2024 06:01:52 -0000 (UTC) antispam@fricas.org (Waldek Hebisch) wrote: > Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote: > > On 21.12.2024 02:28, Tim Rentsch wrote: > >> Janis Papanagnou <janis_papanagnou+ng@hotmail.com> writes: > >> > >>> On 16.12.2024 00:53, BGB wrote: > >>> > >>>> [...] > >>>> > >>>> Pretty much all higher level control flow can be expressed via > >>>> goto. > >>> > >>> A 'goto' may be used but it isn't strictly *necessary*. What *is* > >>> necessary, though, that is an 'if' (some conditional branch), and > >>> either 'goto' or recursive functions. > >> > >> Conditional branches, including 'if', '?:', etc., are not strictly > >> necessary either. > > > > No? - Can you give an example of your statement? > > Look at example that I posted (apparently neither you nor Tim > looked at my posts where I explained in detail how to translate > goto program (with conditional jumps) into program that contains > no goto and no conditional jumps). Considering that Janis replied to your post I find a possibility that he did not look at it unlikely. Although not completely impossible. > > Or try to figure out how to do this knowing that C has function > pointers. >