velocity-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Velocity Wiki] Update of "MacroEvaluationStrategy" by ClaudeBrisson
Date Thu, 07 Sep 2017 12:47:26 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Velocity Wiki" for change notification.

The "MacroEvaluationStrategy" page has been changed by ClaudeBrisson:
https://wiki.apache.org/velocity/MacroEvaluationStrategy?action=diff&rev1=1&rev2=2

+ '''Note''' Velocity 2.0 now always uses the call by sharing (aka Java) calling convention.
+ 
  From [[http://en.wikipedia.org/wiki/Evaluation_strategy|Wikipedia]]: In computer science,
an evaluation strategy is a set of (usually deterministic) rules for evaluating expressions
in a programming language. An evaluation strategy defines when and in what order the arguments
to a function are evaluated, when they are substituted into the function, and what form that
substitution takes.
  
  Looking at the various standard evaluation strategies (see http://www.knowledgerush.com/kr/encyclopedia/Call-by-something/
and http://en.wikipedia.org/wiki/Evaluation_strategy ), none of them applies to Velocity.
It's a mix between call by macro expansion, call by sharing, call by value and other behaviors.

Mime
View raw message