Templates are not compiled into any other language (bytecode or
otherwise). They are interpreted into an AST which is then typically
cached. Many years ago, experiments in compilation failed to produce
any worthwhile benefit over a cached AST, no one has attempted it
since for any java template engine i'm familiar with.
On Sat, Jun 23, 2012 at 12:12 AM, Dishara Wijewardana
<
ddwijewardana@...> wrote:
> Hi ,
> In JSR 223,
> It has a concept of compiledScript which is a script compiled by the
> Compilable class. Then that compiled script is used to do engine.evaluate()
>
> Does velocity engine compile a script before evaluating or does it has at
> least such functionality as an optional one ?
> As far as I understand this compilation means probably a kind of ANTLR like
> compiler which compiles the script grammer.
>
>
> --
> Thanks
> /Dishara
---------------------------------------------------------------------
To unsubscribe, e-mail:
dev-unsubscribe@...
For additional commands, e-mail:
dev-help@...