To or from nonlinear codes