: wait 100 delay ;
: blink 13 on wait 13 off wait ;
: setup 13 output ;
: loop blink ;
This program simply blinks the LED attached to pin 13 every 100ms. Nothing interesting about the program, but the fact that even such a simple program compiles is nice to see.
The next step is to add a couple of control structures, and then on to a type checking system!
Thats pretty awesome. I expect great things will come from these humble beginnings.
ReplyDelete