4 ms·
I started learning prolog just a few months ago, when I stumbled upon https://linusakesson.net/dialog/ https://linusakesson.net/dialog/ which is a spin on prolo
by aktuel 2y ago
I started learning prolog just a few months ago, when I stumbled upon https://linusakesson.net/dialog/ https://linusakesson.net/dialog/ which is a spin on prolog optimized for writing interactive fiction.
As a sweet and short tutorial I can recommend these slides: https://www.cs.toronto.edu/~hojjat/384w10/ https://www.cs.toronto.edu/~hojjat/384w10/
If you want to dive into how Prolog works under the hood I can recommend https://github.com/a-yiorgos/wambook https://github.com/a-yiorgos/wambook
I terms of Prolog implementations I played a bit with https://www.scryer.pl https://www.scryer.pl but it still feels rough around the edges.
SWI-Prolog is the most popular and most batteries included Prolog: https://www.swi-prolog.org https://www.swi-prolog.org
With its libraries and documentation it is a very practical language. What surprised me is, that you can easily produce amazingly small stand-alone binaries.
- 0x3444ac53 2y agoI read about dialog in another HN thread a few weeks ago. Between then and now I've had the itch to write some interactive fiction, but I could not for the life of me remember the name of that project. Thanks!
- qu1j0t3 2y agoI assume you're already au fait with Inform* family of languages...