The uBASIC interpreter
Find a file
2013-09-04 23:38:25 +02:00
Makefile The uBASIC 0.1 source code 2013-09-04 23:35:28 +02:00
README.md Updated the README file 2013-09-04 23:38:25 +02:00
tokenizer.c The uBASIC 0.1 source code 2013-09-04 23:35:28 +02:00
tokenizer.h The uBASIC 0.1 source code 2013-09-04 23:35:28 +02:00
ubasic.c The uBASIC 0.1 source code 2013-09-04 23:35:28 +02:00
ubasic.h The uBASIC 0.1 source code 2013-09-04 23:35:28 +02:00
use-ubasic.c The uBASIC 0.1 source code 2013-09-04 23:35:28 +02:00

uBASIC

http://dunkels.com/adam/ubasic/

uBASIC is a really simple BASIC interpreter.

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).

See the file use-ubasic.c for an example of how to use it.