Linked by Thom Holwerda on Fri 25th Aug 2006 09:03 UTC, submitted by anonymous
General Development Adam Dunkels, well-known author of the Contiki operating system and the uIP embedded TCP/IP stack, has written a really small BASIC interpreter called uBASIC in about 700 lines of C code. It is intended to be a very small scripting language for systems where memory really is at a premium such as deeply embedded systems which may have as little as a few hundreds of bytes of RAM. It provides an interesting look into how to write a very lightweight script interpreter.
Permalink for comment 155875
To read all comments associated with this story, please click here.
Member since:

Just because there are hardware constraints, doesn't mean the user isn't time constrained. Sometimes you need a quick an dirty one-time hack that would take a minute to knock out in a high level script.

Reply Score: 3