Hi – I’ll be the one doing the Scratch interface.
Traditionally with the Arduino for instance, you can code it its native language which it retains when unplugged or you can get it to run as a serial command device programmed in a non-native language which won’t work when its un-plugged.
Initially, thats what I’ll get going on the Crumble.
However, I’ve already got a Scratch code -> Crumble code compiler (its just handles outputs on/off at moment) so that’s one method of getting code to work un-plugged.
The other approach is the way MBlock have done it with their Arduinio approach but at the moment their code hasn’t been open-sourced (although they’ve promised to do this)