[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
PLanet.


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:

    http://planet.racket-lang.org/package-source/dyoo/bf.plt/1/2/planet-docs/manual/index.html

Comments and suggestions would be greatly appreciated.


Posted on the users mailing list.