I finished the new template's grammar this weekend. My next step will be to do something with the AST, starting to navigate it, interpret it, play with it.
For the curious folks, it's all on Github.