We present an analysis of currently available user language facilities for sensor-based programming of robot assembly tasks. A common criterion is defined that a language support for sensor-based programming must satisfy. Finally, drawing upon a novel mechanism of generalized exception, we present a framework for a complete solution of these problems in a high level block structured and complex language, as well as a possible implementation of such tools.