PRG32-BASIC is a structured, line-number-free BASIC dialect for the PRG32 RISC-V platform.
- Execution Model: Direct AST (Abstract Syntax Tree) interpreter written in C99/C11.
- Memory Model: Zero dynamic heap allocation (no
mallocprfree). All AST nodes, variables, and dynamic strings reside in statically allocated buffers. - Frame Synchronization: Pure sequential top-to-bottom script execution with automatic phase switching between PRG32's
update()anddraw()callbacks.
PRINT "HELLO WORLD"Fixed-point arithmetic uses the header-only library QNum from Aviato-Dynamics: https://github.com/Aviato-Dynamics/Qnum.