partial emit-form pass implementation