Because why not? Whitespace is a cute idea, and the Racket folks like to advertise their language as a little language laboratory, as well as tauting the power of macros.
Inspired by Danny Yoo's F*dging up a Racket and Greg Hendershott's Fear of Macros, I thought I'd give it a go. My original goal was to make this into a proper Racket language (per Danny's post), but somewhere in trying to configure Racket's Reader's default settings I decided just to make it a command-line interpreter instead.
If you have Racket installed, just racket main.rkt <whitespace file>
, or
make
will run raco exe
such that you'll have an executable named
whitespace
, which accepts a filename as an argument.
Play with the examples in the examples/ directory and give it a try ^_^
No. This is slower than a turtle racing up a hill dripping molasses.