I just discovered an impressive Arduino program called Bitlash in a video demo http://pinocc.io/blog/building-the-internet-of-things/preview-pinoccio-api/ (about the Pinoccio mesh networking module).
It lets you define and run tasks from a shell.
Has anyone tried porting it to the MSP430?