Alberto ricci bitti has a nice collection of amazing projects in his website. One of his designs is scriptable thermometer which can be programmed in basic like language within built in editor.
Scriptable controller has 6kB non volatile memory where custom scripts can be stored and executed. Built in ASCII interpreter can run scripts as custom applications. Author even provides two examples of scripts that can be run instantly. One of them runs controller as graphical thermometer while another as GSM cell phone connected vending machine. This design also was awarded as application of the day in national Semiconductors.