Find a file
2010-09-10 19:12:36 -04:00
src Moved prim methods into a module, cleaned up compiling words 2010-09-10 19:12:36 -04:00
README.md Added more info to the README 2010-09-09 14:41:53 -04:00

russ forth

A simple Forth interpreter in Ruby (1.9).

1 2 dup + +
.
5

3 2 1 + *
.
9

: sq dup * ;

2 sq
.
4

This is based on a sweet hack by Russ Olsen presented to me in a GoodReads comment.