On Fri, Jan 23, 2015 at 11:30 AM, Felix Meschberger <fmesc...@adobe.com> wrote:
> We could extend our ScriptResolution as well like this. If the file begins 
> with a line of the form
>
>    #!<engine-name><CR><LF>

Why not. It's a bit costly as you need to read part of the script
during resolution but I suppose this can be cached.

I'd make the syntax specific to Sling then, maybe like

  #!sling:language thymeleaf

so that people know where to look for the meaning of that.

And of course make the engine's extensions configurable (I hope that's
already the case) so if someone wants to use .sly for Sightly and .tlf
for Thymeleaf that should be possible.

-Bertrand

Reply via email to