Simple graphics language
From ScienceZero
A simple graphics language for microcontrollers
We start with a very simple reverse polish notation interpreter with a preprocessor stage
Sample code:
360 for 1 forward 1 right next
Commands:
setpixel ( x y -- ) readpixel ( x y -- colour ) colour (colour -- ) goto (x y -- ) loops conditionals penup ( -- ) pendown ( -- )