I actually had this idea years ago, when I had illusions that I was going to teach myself C++ or Java and write my own roguelike. But I never got anywhere, even with the text interpretation. So, it's kind of funny that, over the last couple days, I've been able to write enough rules so that I can create rectangles, trapezoids, and irregular rooms connected by moderately zig-zagging passageways (they can even zig-zag up or down, via staircases.)
The document is kind of longish, so I'll be adding it to my Google Docs after I develop it some more. But I plan on posting small chunks here to the blog.