Path: ...!feeds.phibee-telecom.net!news.mixmin.net!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Mild Shock Newsgroups: comp.lang.prolog Subject: =?UTF-8?Q?The_longest_pregnancy_in_the_history_of_Prolog_~~>_DCGs_?= =?UTF-8?Q?=28Was:_A_harsh_wind_is_blowing_into_the_face_of_Prolog_now?= =?UTF-8?B?4oCmKQ==?= Date: Tue, 23 Jul 2024 09:51:40 +0200 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Tue, 23 Jul 2024 07:51:39 -0000 (UTC) Injection-Info: solani.org; logging-data="249125"; mail-complaints-to="abuse@news.solani.org" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0 SeaMonkey/2.53.18.2 Cancel-Lock: sha1:7H/H8QmSPvPJ+OWdz5xl9bGlGrg= In-Reply-To: X-User-ID: eJwFwYEBACAEBMCVvvBqHMT+I3RnwsVypVFtbGTAHSz0sxkKUvLA4bSJqsi9rtfVtgznk96evINGHlV5H1w0Fbw= Bytes: 2746 Lines: 47 Woa! They are still fiddling with DCG: Modified: Samstag, 6. Juli 2024, 07:53:05 https://www.complang.tuwien.ac.at/ulrich/iso-prolog/phrase For Dogelog Player and its Novacore, I have invented shallow DCG transform. Shallow expansion is a variant of the usually deep expansion, in that we don't define a multi-file predicate: term_expansion(, ). Which uses a result from goal expansion, i.e. there is both term and goal expansion in deep expansion, SWI-Prolog has even function expansion a third type of expansion, but in shallow expansion we have only: term_conversion(, ). In particular for performance and didactical reasons Novacore from Dogelog Player has nothing higher-order. So phrase/2 is missing. Not needed. But I don't have test cases yet for this shallow expansion. Maybe I could adapt a few from formerly Jekejeke Prolog, trim them down to the scope of shallow expansion. Mild Shock schrieb: > Especially since good old FORTRAN has > made a new appearance: > > TIOBE Index for May 2024 > I have received a lot of questions why Fortran entered the top 10 > again after more than 20 years. The TIOBE index just publishes > what has been measured. > https://www.tiobe.com/tiobe-index/ > > Why Fortran is back in TIOBE’s top 10 > First, Fortran is especially good at numerical analysis and > computational mathematics. Numerical and mathematical > computing is growing because interest in artificial intelligence > is growing, Jansen told TechRepublic in an email. > https://www.techrepublic.com/article/tiobe-index-may-2024/