A 531 program generator