Closed josd closed 2 months ago
this is with
$ tpl -v
Trealla Prolog (c) Infradig 2020-2023, v2.54.6
(maybe also update to 2024 :))
A problem with TCO here:
'https://josd.github.io/cigol#path'(A,C) :-
'https://josd.github.io/cigol#oneway'(A,B),
'https://josd.github.io/cigol#path'(B,C).
for now either -O0 or change to:
'https://josd.github.io/cigol#path'(A,C) :-
'https://josd.github.io/cigol#oneway'(A,B),
'https://josd.github.io/cigol#path'(B,C), true.
I'll look into it further soon.
Thx and with the added true
now we get https://github.com/josd/cigol/blob/main/cases/output/graph-trealla.pl
It now works fine with the fix https://github.com/trealla-prolog/trealla/commit/3763b0ce2a91ed8ca811fc8c66ef0b862096590d Thx
The issue is back using v2.55.4
, this time for the https://github.com/josd/cigol/blob/main/cases/control.pl case where we get https://github.com/josd/cigol/commit/12f93953291a8e5119463704e27950dccfce785d
Thanks for the fix and now it works fine 👍
the cases in this issue are now moved to https://github.com/eyereasoner/see/tree/main/cases
https://github.com/josd/cigol/blob/main/cases/graph.pl is giving
instead of