Mustache: Retrieve list/hash of tags from a template?
问题 All the documentation and examples of Mustache I've seen show how to use a hash to populate a template. I'm interested in going the other direction. EG, if I have this: Hello {{name}} Can mustache generate this (pseudo-code): tags = 'name' I'm using the PHP flavor of Mustache, but I'm not too particular about the language. What I'm trying to do is build a system where people can create templates with Mustache tags, and another developer can quickly see what data the template will need. Is