Why cant Scryer Prolog parse this? (Was: France is the Fire Nation of Prolog)

Liste des GroupesRevenir à cl prolog 
Sujet : Why cant Scryer Prolog parse this? (Was: France is the Fire Nation of Prolog)
De : janburse (at) *nospam* fastmail.fm (Mild Shock)
Groupes : comp.lang.prolog
Date : 01. Sep 2024, 15:22:20
Autres entêtes
Message-ID : <vb1pqc$1vjlv$1@solani.org>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
User-Agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0 SeaMonkey/2.53.18.2
Hi,
Why cant Scryer Prolog parse this?
scryer-prolog$ target/release/scryer-prolog -v
v0.9.4-165-g12a61cdf
scryer-prolog$ target/release/scryer-prolog
?- current_op(X, Y, *).
    X = 400, Y = yfx.
?- X = (* = *).
    error(syntax_error(incomplete_reduction),read_term/3:1).
On the other hand Trealla Prolog has no problem:
trealla$ ./tpl -v
Trealla Prolog (c) Infradig 2020-2024, v2.55.31
trealla$ ./tpl
?- current_op(X, Y, *).
    X = 400, Y = yfx.
?- X = (* = *).
    X = ((*)=(*)).
What LEX / YACC did they use? Holy cow!
Bye
Mild Shock schrieb:
Is Canada also France? Seems I am not the only one who got
into struggle with Logtalk sooner or later. LoL
 How its started:
Ticket raised by me Aug 9, 2021 (when I was "ghost")
Feature request flag dialect, maybe version and version_data
https://github.com/mthom/scryer-prolog/issues/1017
 How its going:
Commit by pmoura last week
Delete Scryer Prolog support due to this system refusal to
support the de facto standard `version_data` flag
https://github.com/LogtalkDotOrg/logtalk3/commit/d93883c5a8b014af09bd0e11439eaff30e1c1a5c
 What happened?
 LoL
 

Date Sujet#  Auteur
1 Sep 24 * Why cant Scryer Prolog parse this? (Was: France is the Fire Nation of Prolog)4Mild Shock
1 Sep 24 `* Re: Why cant Scryer Prolog parse this? (Was: France is the Fire Nation of Prolog)3Mild Shock
1 Sep 24  `* Re: Why cant Scryer Prolog parse this? (Was: France is the Fire Nation of Prolog)2Mild Shock
1 Sep 24   `- Re: Why cant Scryer Prolog parse this? (Was: France is the Fire Nation of Prolog)1Mild Shock

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal