[racket] Tutorial: writing a language (brainf*ck) in Racket

From: Danny Yoo (dyoo at cs.wpi.edu)
Date: Mon Jun 13 13:36:45 EDT 2011

I've written a tutorial about how to extend Racket so it supports
different languages.  Material on this topic already exists in the
Guide, but I wanted to write an extended example that covers the
gauntlet, from setting up the PLaneT development links, to writing the
semantics and parser, to finally delivering self-contained package on

The dilemma was to choose a language that was simple, and looked
nothing like Racket.  The choice was clear: it had to be brainf*ck.
Here's the tutorial:


Comments and suggestions would be greatly appreciated.

Posted on the users mailing list.