Structure generation
https://github.com/mxgmn/MarkovJunior contains examples for a rule-based structure generation language.
Not sure that it needs something this complex; some behavior closer to LDtk's auto tile mapping might be more effective to start.