ScalarExpr and qeval now implemented