Sujet : Re: The longest pregnancy in the history of Prolog ~~> DCGs (Was: A harsh wind is blowing into the face of Prolog now…)
De : janburse (at) *nospam* fastmail.fm (Mild Shock)
Groupes : comp.lang.prologDate : 23. Jul 2024, 08:52:32
Autres entêtes
Message-ID : <v7nnfu$7j95$2@solani.org>
References : 1 2
User-Agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0 SeaMonkey/2.53.18.2
P.S.: Only providing shallow expansion is no a loss.
You can use it to bootstrap deep expansion, I do
that in a stashed version of formerly Jekejeke Prolog,
as a proof of concept. So basically you can bootsrap
ISO-Core from Novacore in many cases. Also if DCG with
deep expansion would enter ISO-Core.
Novecore is just the smaller core than ISO-core.
Novacore is Prolog reduced to the max.
Mild Shock schrieb:
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(<from>, <to>).
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(<from>, <to>).
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/