Programming using natural language interface can enable novice users to program without having to learn the minute details of the domain specific language. Accomplishing this task requires solving interesting problems in nlp such as parsing, and dialog systems and in mixed-initiative systems such as learning user’s utility model. As a first step towards this goal, we are working on building probabilistic models to parse natural language inputs to conditional (IF-THEN) style programs.