Hello, I'd like to write a lexer for Textadept to syntax color Diet Templates.
Once done it would be submitted to become a part of the official distribution. I've done this sort of thing before, and it's pretty easily done for a small language by writing 1 to 2 pages of Lua. And I had no trouble having the result accepted to be a part of the Textadept distribution. There's already a lexer for D, and that can be called to color the D parts of a template. The existing HTML lexer calls the Javascript lexer in an analogous fashion. So the hard work is done in advance.
That said, I need a grammar. I'm new to vibe.d and I'd prefer someone more involved with vibe.d who has an informal possibly non-final grammar to allow me to use it, rather than my trying to vaccuum up the existing incomplete docs which would include the Jade Docs and invent my own.
Does anyone have something I could use? It's just for syntax coloring so it doesn't have to be perfect right now; I could revise the lexer once there's an official grammar. Any help much appreciated.