Re:Planner programming blows my mind
by hwayne on Tuesday February 20, 2024 @07:14PM
(#39448680)
AFAICT Picat is a direct descendant of B-Prolog and shares a lot of idioms (like tabling) with it. https://en.wikipedia.org/wiki/B-Prolog
[ Parent
| on HN ]
THX for the reference. I used Prolog a fair amount in the 90s, but didn't know about B-Prolog. Now I do.
And I came here to make @rad_gruchalski's comment. So... thx for making that comment so I don't have to.
Yes, the underlying engine of Picat is - a slightly altered- B-Prolog, which is available as the "bp" module, from which one can use many of traditional Prolog constructs, for example `bp.length/2` instead of Picat's `length/1` function. This can help when porting Prolog programs to Picat. In fact, quite a few Prolog programs can be run directly in Picat, perhaps with just some few adjustment.
For some example of the available predicates in the bp module, see my http://hakank.org/picat/v3_utils.pi . Also, see http://hakank.org/picat/#v3 for some examples of ported Prolog programs.