Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I started learning prolog just a few months ago, when I stumbled upon 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/

If you want to dive into how Prolog works under the hood I can recommend https://github.com/a-yiorgos/wambook

I terms of Prolog implementations I played a bit with 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 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.



I 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!


I assume you're already au fait with Inform* family of languages...




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: