as there are only quite old topics on this issue, I'd like to ask, if there are improvements especially in documentation of the feature of embedding languages.
All I found is some paragraph mentioning the chameleon token to be implemented, which is quite sparse.
What I'd like to do is to support a custom template language that allows to embed arbitrary other dynamic languages (like JSP or PHP) or HTML. In general, I do not know what language is embeded. I guess, I could solve the "what" with registering several extensions (like .tjsp or .tphp), and the parser for those fragments would themselve allow for HTML to be included as third level in parsing?
Would be great to have some documentation or example on how mixing languages works.