code generation for chained assignments