Path: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.misc Subject: Re: What Language Is This? Date: Fri, 6 Sep 2024 14:14:06 +0200 Organization: A noiseless patient Spider Lines: 40 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Fri, 06 Sep 2024 14:14:07 +0200 (CEST) Injection-Info: dont-email.me; posting-host="ea47b548d6a7338dc06be4ae7f1c4c38"; logging-data="860589"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/7vqSIVtvViotRg6+/fJycEQ2W+DUsjn0=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:TVMpP2m65Y5SKsOMSvy9v2PiVaQ= Content-Language: en-US In-Reply-To: Bytes: 2301 On 2024-09-06 11:56, Bart wrote: > On 06/09/2024 01:24, Lawrence D'Oliveiro wrote: >> Looking at the picture at the head of this article >> , >> I couldn’t recognize what language was used for that code. >> >> Does anybody know what language it might be? Of course, it could be a >> fake. > > The one with 'if ("true")' and the mix of // and # comments? It looks > made-up. if ("true") makes a lot of sense in our times of alternative facts and moral relativism... (:-)) In fuzzy logic proper ("fuzzy logic" refers neither to fuzzy nor to logic (:-)) you could have (so-called linguistic variable): if almost true then s1; else s2; end if; and follow both paths with different levels of confidence. A potentially interesting language which could be efficiently implemented on modern multicores. The process of splitting paths is called "fuzzification." When you must bring them back to a single choice using some method like selecting the path with the highest confidence level, that is called "defuzzification." -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de