Forth
Jump to navigation
Jump to search
sample
2 + 2
2 2 + .
result 4
9 % 4
9 4 /mod .s
result 1 2
square word
: sq dup * ; 2 sq .s
result 4
hello world
: hw ." hello world" ; hw
result hello world
links
http://amforth.sourceforge.net/
AmForth, Floating point and ATmega implementation:
Pygmy Forth: http://pygmy.utoh.org/riscy/