A simple Tiny BASIC interpreter in Zig 0.13.0.
Implemented most grammar except for keywords CLEAR, LIST, and RUN.
- Added support for lower case characters in string literals.
- Added
REMstatement for comments. - Added functions
ABS(N),RND(N), andMOD(N,D).
Build with zig build.
Example programs can be found in the examples folder.
$ cat examples/hello.bas
PRINT "HELLO WORLD!"
$ ./zig-out/bin/tinybasic examples/hello.bas
HELLO WORLD!