Having trouble implementing simple Mustache language definition

I am trying to use the example language definition in github, but I’m having trouble applying this to Mustache. Help?