scryer-prolog icon indicating copy to clipboard operation
scryer-prolog copied to clipboard

Think about package manager

Open XVilka opened this issue 6 years ago • 2 comments

All cool kids on the block now have their own package manager. It is even reflected in this answer to StackOverflow question How often is Prolog/ASP used in non-research areas? And it makes perfect sense, for example similarly old language Common LISP also suffered from that until the projects like Ultralisp came into existence. Since we are all Rustaceans here, we know that part of the Rust success was the Cargo package manager.

XVilka avatar Oct 15 '19 04:10 XVilka

I'm reviving this issue since I opened a similar issue today: #510.

My original question was: how could we integrate a package manager in Scryer Prolog that would allow me to use packages that were originally made for SWI-Prolog?

I will note that several package managers out there use a subset of constraint logic programming to find out which package should be downloaded :) For me there is a lot of value to having a single, central repository of packages that are easy to install. I don't necessarily think that this is all Prolog needs to be "successful" but it would definitely help! How do we get started? Should we talk to SICStus and SWI ?

matt2xu avatar May 15 '20 23:05 matt2xu

There is now excellent initial and ongoing work in this direction by @bakaq and @constraintAutomaton:

https://github.com/bakaq/pkg.pl

Please take a look!

triska avatar May 02 '25 16:05 triska