You can use the @{[ EXPRESSION ]} trick that Greg Hewgill mentioned.
There's also the Interpolation module, which allows you to do arbitrary transformations on the values you're interpolating (like encode HTML entities) in addition to evaluating expressions.