To continue this series of posts about Voxel Studio, here is a sneak peek at the grammar editor:
As you can see I ended up devising a new language for expressing the architecture grammars. If you get the full image above you should be able to read the code. Two rules make this very simple test.
This is a dramatic reversal on an earlier post. If you don't remember about this, my initial approach was I would never need a custom language for architecture grammars, that being the only user of this system I could do fine with so-called fluent interfaces in C++. Many commented back then I would have to bite the bullet and write a custom parser. They were right. It has saved me time, also the new language is quite powerful. I will introduce it later in a future post.