Hi. This is very interesting to me in terms of trying to design an app that would interact with DF. My coder mind starts parsing the big pictures in smaller, manageable chunks.
Let's take the "read map" as a large issue, and how one would go about breaking it into smaller functions.
My first thought is to minimize the map, and it's possible to embark on a 1x1 which gives you a 48 x 48 tile playable area.
Second, we can further minimize the z-levels or a world-gen, 1 cavern, can make a surface reach down SMR later between 30 to 60 z-levels.
But this z-level issue is more about having a flat embark area so the surface is all in the same z-levels of our 48 x 48 playable tiles.
I'm sure we can find an embark that gives that flat embark biome, and maybe even use Perfect World to generate such a map.
Next, let's think minimal fortress foot print. Let's say an 11x11 walled fortress, with 1 north facing raising bridge, and roofed archer tower on the z+1. Add a dry moat too, and it can be a perfectly decent bunker.
Sorry, it seems like I'm going off my train of thought. But I was just thinking that DF AI mod I was watching in twitch some weeks ago. The AI was building stuff, making military, and it was doing well actually.
My thinking is that there is a way to tell the DF to build here or there, order a dwarf here or there without keyboard input.
Now, if an voice command app turns those commands into "input"; and the DF AI app can be tweaked to use this "input" instead of it's AI code, then that's one step closer to interacting with DF.
My next thought is the mod that has a separate window for Annoucements. This app seems to just read the DF log files. It is similar to how Soundsense work. DF log adds a new season change, and the soundsense read the log then plays the sound file. My thought on this is the code for reading the log can probably be parsed to describe what is happening in the game.
Oops, I have some more thought, but need to go to a meeting. So I'll just post this now.