Path: csiph.com!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: Keith Thompson Newsgroups: comp.lang.c Subject: Re: transpiling to low level C Date: Mon, 16 Dec 2024 17:19:21 -0800 Organization: None to speak of Lines: 33 Message-ID: <877c7z85t2.fsf@nosuchdomain.example.com> References: MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Tue, 17 Dec 2024 02:19:23 +0100 (CET) Injection-Info: dont-email.me; posting-host="be6ba1f9d988ebdec25093efcf540bc9"; logging-data="1463695"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/8d9CWKkL4rUcC3OuYM+zI" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:iL/1R6pQx8KO0xuACUmQ4zcFLcA= sha1:uiEAGM6xeD9HtWRsRDRbJ6hqPB0= Xref: csiph.com comp.lang.c:389694 bart writes: [SNIP] > In that case I've no idea what you were trying to say. > > When somebody says that 'goto' can emulate any control structure, then > clearly some of them need to be conditional; that is implied. > > Your reply suggested they you can do away with 'goto', and use > recursive functions, in a scenario where no other control structures > need exist. > > OK, if this is not for an IL, then it's not a language I would care > for either. Why tie one hand behind your back for no good reason? I read Janis's post. I saw a suggestion that certain constructs are *theoretically* unnecessary. I saw no suggestion of any advocacy for such an approach. """ 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. """ [...] > So what was your proposal about? I saw no proposal. -- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com void Void(void) { Void(); } /* The recursive call of the void */