Thinking procedurally is one of the hardest concepts to grasp for the beginning programmer.

Choc is a toolkit for teachers to craft small programs that can be explored interactively.

Choc is different from other "live-coding" environments in that each step of the execution is controled by the learner. The first example above shows the most fundamental features of Choc: