uBASIC 0.1

uBASIC is a tiny, non-interactive BASIC interpreter designed for adding simple scripting capabilities.
uBASIC is a non-interactive BASIC interpreter designed for adding simple scripting capabilities to applications and systems with severe memory constraints.

The (non-interactive) uBASIC interpreter supports only the most basic BASIC functionality: if/then/else, for/next, let, goto, gosub, print, and mathematical expressions. There is only support for integer variables and the variables can only have single character names.

I have added an API that allows for the program that uses the uBASIC interpreter to get and set BASIC variables, so it might be possible to actually use the uBASIC code for something useful (e.g. a small scripting language for an application that has to be really small).

My intention with this program is to be able to use it for adding a simple scripting language to severely memory-constrained applications or systems (e.g. a scripting language to the web server applications in uIP or Contiki).

While I secretly hope that the uBASIC code may be useful to someone, it currently is a really quick hack made primarily for personal enjoyment. However, if you are interested in looking at how a really small BASIC interpreter can be written, go ahead and take a look at the code!

last updated on:
June 26th, 2006, 16:39 GMT
price:
FREE!
developed by:
Adam Dunkels
license type:
BSD License 
category:
ROOT \ Programming \ Interpreters

FREE!

In a hurry? Add it to your Download Basket!

user rating 17

UNRATED
2.5/5
 

0/5

1 Screenshot
uBASIC

Add your review!

SUBMIT