Interactive and Expressive Code-Augmented Planning with Large Language Models