Re:Ask HN: What's Prolog Like in 2024?
by philzook on Thursday July 18, 2024 @10:57AM
(#40996177)
I am quite pleased with the ability to easily use prolog from within python and vice versa. It makes it now one of the easiest and most expressive solvers to plug into for my tastes. I'm starting to accumulate useful solvers here https://github.com/philzook58/prologsolvers/tree/164297d87f6...
You need to install swi prolog https://www.swi-prolog.org/download/stable and pip install janus_swi
A simple example to get started: https://www.swi-prolog.org/pldoc/doc_for?object=section(%27p...