Programmatic Representation Learning with Language Models