Sketching Robot Programs On the Fly