orbBasic, like the macro executive, is another powerful resource that Sphero provides for autonomous behavior and integration with smart phone applications. It runs as another thread in the main system in parallel with driving and macros. With execution rates of well over 3000 lines/second and support for both a helper program (resident in RAM) and a permanent one (resident in Flash), orbBasic adds an entirely new dimension to gaming and apps.
This documentation covers the first generation interpreter and its minor revisions. Although we refer to tokens, the program stream itself is not tokenized and still resides as ASCII in the execution area.
March 16, 2012