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.

@jim All things are possible in Lisp, yes, given sufficient effort

Unfortunately the 'sufficient effort' part just to get to 'can literally type text into a box and save and load from a disk file' is 'quite a lot'

@natecull I wrote a infocom-ish thing in lisp for college many many years ago, and it wasn't too hard ... *but* I never attempted to serialise state to disk (i.e. saved gamed) and there wasn't any internal structure for an in-game agent/ai to get a handle on that wouldn't have required a lot of hard coding of knowledge about the actual game/world and therefore would not be an 'infocomish' game.

But text from a box -> in-game state wasn't as bad as you


@jim Given a working Lisp system, getting text into a box isn't hard.

Getting people a working Lisp system and letting them get a game into that system without it also being a root exploit... that's a bit harder.

Sign in to participate in the conversation

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!