codegen: implement tuples and leave closures for now