I'm currently trying to create a programming language for UI designers, and my approach is very similar to this. Although, the language looks much less like a typical programming language since it's not meant for implementing an actual program, just an interface.