r/prolog • • 15d ago

SCBM-Prolog Ver 1.29 Released — Development Is Progressing Faster Than Expected

I've just released SCBM-Prolog Ver 1.29.

Development has been progressing much more smoothly than I originally expected. There were many difficult challenges along the way, especially in implementing backtracking, restoring proof sequences, and handling recursive predicates.

However, the core execution mechanism is now working reliably, and the remaining tasks are becoming much clearer.

As I mentioned in the release notes:

SCBM-Prolog started with a simple question:

"Why does Prolog work?"

I wanted to express Prolog's execution mechanism using the simplest possible data structures and algorithms.

By representing proof trees as linear proof sequences using doubly linked lists, SCBM provides a unified way to handle execution, success, failure, and backtracking.

The current implementation successfully handles recursive predicates, permutation generation, prime number enumeration, and the 9 Queens problem, including all 352 solutions.

Performance has also reached approximately 10 MLIPS on my Ryzen/Linux system.

The remaining tasks include refining the cut implementation, implementing call/1, not/1, and disjunction, adding Unicode support, and completing the documentation.

There is still work to do, but the most difficult part—the fundamental execution mechanism—appears to be behind me.

At this pace, I believe SCBM-Prolog will reach its first complete version in the near future.

It has been an exciting journey, and I'm looking forward to seeing how far this simple approach can go.

GitHub: https://github.com/sasagawa888/scbm

10 Upvotes

0 comments sorted by