Suggestion:  If you do not want to change the parser, what about developing virtual methods (or plug-in) to perform the same function?  Using your example: 

    [%
x = 10;
       y = x.power(2)
    %]

Bill

Subbu Meiyappan wrote:
How can I get the operators like '**' (power), '<<' (left shift) etc to work in tt?
   [% x = 10;
      y = 2 ** x;
    %]
 gives me an error.
 
Thanks
Subbu

Reply via email to