If you put it in to an infinite loop you will have to connect to it with in 30 of boot and format the device or save a blank program otherwise it will be stuck.
http://esp8266basic.com
A BASIC interpreter for your ESP
Working now on Autodrop3d. A 3d printer with automatic part ejection system. https://autodrop3d.com