I talk a lot about Prolog but really what I want is just a language I can write an Infocom / SHRDLU style adventure game / text-based AI simulation in.

My problem is I have high expectations for a language because I want to do what seems to me to be very simple things:

* have the world obey rules, so all actions cause consequences

* rules that can be changed at runtime

* game AIs can read these rules and make plans

* save/ load the game state to/from disk

Turns out getting these is HARD.

@natecull
I like how well prolog does here. It does reasonably at all of that minus the mutability of the world I suppose.

@violet Yep, Prolog was my first thought.

Literally more than ten years ago when I first saw Inform 7 I went 'omg I could whip this up in ten lines of Prolog'

and I still think that, I'm just waiting for Prolog to get.... better. Or Kanren to get understandable without me having to buy a book.

@natecull
I should reread that chapter of paradigms of artificial intelligence programming which deals with this

Follow

@violet There is some wonderful stiff in PoAIP but... it's very very Common Lisp-y.

Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!