- Sun Nov 15, 2015 10:45 am
#34066
The interpreter is written in arduino c/c++
Source code can be found at
https://github.com/esp8266/Basic/tree/m ... P8266BasicAs to the amount of memory available we have 2 kinds.
Ram and flash. Ram usage is the same across all the modules for the same program.
Flash memory which is where your basic program lives is different for each flash size.
Currently on a 512k module approximately 64k is available for storage space.
On a 1M module you get 512k of storage for the bsic programs.
On a 2 mb module you get 1M of flash for basic applications.
On a 4M module you get 3M for you basic programs.
ESP8266Basic uses the spiffs file system. The same one that comes with the arduino environment.
Interpretation of the basic program takes place on the device. All program editing is done via the browser. This has been tested on a wide range of computers,phones and tablets.
I have tried to take special care to make sure that the watchdog on the chip dose not kick in rebooting the cpu for tight loops. This is why at some point it might seem a bit sluggish but at other times it fast as can be. I though that stability is more important that any thing else.
The design philosophy has been that you really should not have to declare things before they are used like pins. Why would you want to have to specify a pin is an output before using it as an output.