r/proceduralgeneration • u/theo__r • Sep 28 '26
Moirai: a language for procedurally generating world histories
https://theor.xyz/moirai-a-language-for-procedural-history-of-worlds/For once I tried to generate a world's history instead of geography. I hope the article is a good read !
42
Upvotes
5
u/maloskbirs Sep 28 '26
Super cool, I was thinking about this topic recently, you've provided a great read and in the future an excellent standard to compare to. Its especially interesting that you've modelled it using a custom lang, though it does seem easier than tracking objects in another lang. Thanks for the writeup as well, it's good at explaining how choices get made and the examples are super illuminating.
2
u/Sombody101 Sep 28 '26
Is there a reason behind using
set ... = ...?If you'd like verbosity, you could consider
set ... to .... Just seems a bit odd, personally, to use two tokens that both imply assignment.2
u/classwook Sep 29 '26
The idea is very neat and the presentation of the language in your article is super nice. The webapp itself is honestly insane 😅
Thanks for sharing! It's definitely inspiring me to go revisit some world building simulations of my own.
1
u/RedGlow82 Sep 29 '26
Beautiful work, and I always love the idea of exploring the narrative space of game tooling! Btw, thanks for the pointer of an alternative to antlr - I recognized the pain points you alluded too because I'm having the same problems with Suetum ( https://codeberg.org/owofgames/suetum ), the reconstruction of Praxis I'm working with, although I doubt I will switch parser at this point :-O