Evaluating inline expressions

Fairly experimental at the moment.