Weight-Space Programming