Rudimentary evaluation of expressions