check this!
ttp://hedgehao.blogspot.tw/2014/07/livecode-raspberry-pi-light-up-led.html
(add a 'h' at the front, the forums does not allow me to post a url
I've wrote a prorotype using C external in livecode to control GPIO and successfully light up the LED