This looks a lot like Logo only better.
From the site: “ROBO is a new and very simple educational programming language that will familiarize you with the basics of computer science by programming your own robot. In addition to an introduction into popular programming techniques, you will also gain insight into areas such as robotics and artificial intelligence.”
“RoboMind is meant to be a first introduction to automation and programming without prerequisites. Because many different exercises can be made, the difficulty level can be tailored to the audience. In primary education pupils can get acquainted to writing commands to navigate the robot through its environment, on high school programming structures get more attention and universities focus on the theoretical aspects of automation theory like Turing machines.”
It’s free and available for Windows, Linux and Macs. ( Waring! It requires Java 1.6, which only recently was available on Mac OS X. )