Learn TINYBASIC with Real Code Examples
Updated Nov 21, 2025
Installation Setup
Obtain a Tiny BASIC interpreter binary for your platform
Load it onto the microcontroller or retro computer
Connect to a console or serial terminal for input/output
Enter Tiny BASIC programs line by line
Run programs using the RUN command
Environment Setup
Install Tiny BASIC interpreter for your platform
Connect console, serial, or microcontroller
Start interpreter
Type or load program
Run and debug interactively
Config Files
No standard configuration; programs are text files
Variables and program memory managed by interpreter
Optional scripts for saving/loading programs
Hardware-specific I/O mapped via interpreter
Minimal or no persistent storage support
Cli Commands
RUN - execute program
LIST - display program
NEW - clear program
SAVE - store program to storage (if supported)
LOAD - load program from storage
Internationalization
Supports ASCII/UTF-8 text output
Documentation mainly in English
Interpreter can run globally on compatible hardware
Minimal localization needed
Community-provided examples may be localized
Accessibility
Extremely beginner-friendly
Works on minimal hardware
No complex setup or libraries needed
Ideal for educational purposes
Portable across microcontrollers and retro computers
Ui Styling
No GUI; text-based console or serial output
LEDs/buttons for minimal hardware interaction
Focus on textual feedback
Educational and retro aesthetic
Simple and lightweight interface
State Management
Variables reside in interpreter memory
Program state maintained line by line
No multitasking or separate threads
Persistent storage optional
Simple sequential flow control
Data Management
Variables hold integer (or optional float) values
Input and output via console or GPIO
No advanced file handling
Minimal memory for program and variables
Program flow controlled by line numbers and GOTO/GOSUB