Path: csiph.com!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c++ Subject: Re: Universal Compiler (neos) - Turing Completeness Date: Tue, 11 Feb 2025 15:46:52 -0800 Organization: None to speak of Lines: 27 Message-ID: <877c5wnixf.fsf@nosuchdomain.example.com> References: MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Wed, 12 Feb 2025 00:47:00 +0100 (CET) Injection-Info: dont-email.me; posting-host="bfe7a9ee105f2f75a62ac64b60e39c4f"; logging-data="2105335"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19+wjfyOoS5YppaxQGRuuAg" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:MgZCYzPfrw9CXbztFTnTRgshexQ= sha1:YL8caIlPJ5jvQX+cglhSj9fPb8A= Xref: csiph.com comp.lang.c++:121586 Mr Flibble writes: > I hope to achieve neos Turing Completeness in March during a two week > holiday. > > Also, did you know that with neos you can mix code from different > programming languages in the same source code file! That's a remarkable assertion. I presume you're asserting that you can do this *and* the code will execute correctly. Are you saying that that's possible in your current implementation, or that it's something you intend to implement in the future? Does switching from one language to another require some kind of explicit marker, or does neos figure it out? With what granularity? If the latter, how does it know whether size_t s = sizeof 'a'; is C (typically setting s to 4, sizeof (int)) or C++ (setting s to 1)? -- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com void Void(void) { Void(); } /* The recursive call of the void */