This is neat. I do wish there was a way for this to gracefully degrade in contexts without support for the grammar, though.
I devised a similar in spirit (inside SQL, very simplified vs GoG) approach that does degrade (but doesn't read as nice): https://sqlnb.com/spec
I'm not quite sure I understand what you mean by "degrade in context" - care to elaborate?