[racket-dev] Fwd: a language example: brainfudge

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Fri Jun 10 18:43:47 EDT 2011

Why did you sanitize the name? Is this language different than brainfuck?

Robby

On Fri, Jun 10, 2011 at 5:32 PM, Danny Yoo <dyoo at cs.wpi.edu> wrote:
> Just in case this is interesting (or humorous)  to the other devs.
> I'll be writing up tutorial text for it soon.
>
> ---
>
> I'm starting to work on a small example of a non-lisp-like language
> that uses the Racket infrastructure.  I've chosen the language
> Brain@#! since it's obviously not parenthetical.
>
> I've got the source somewhat working:
>
>    https://github.com/dyoo/brainfudge
>
> and I'll be writing up tutorial text that explains the components.
>
>
> I've uploaded a preliminary PLT package up on PLaneT, so it's possible
> to write the following:
>
>
> #lang planet dyoo/brainfudge
>>+++++++++[<++++++++>-]<.>+++++++[<++++>-]<+.+++++++..+++.[-]>++++++++[<++++>-]
> <.#>+++++++++++[<+++++>-]<.>++++++++[<+++>-]<.+++.------.--------.[-]>++++++++[
> <++++>-]<+.[-]++++++++++.
>
>
> I got a comment that several email clients might screw with the program
> because it looks like quoted text...  in that case, just try running:
>
>   https://github.com/dyoo/brainfudge/blob/master/examples/hello-world.rkt
>
> _________________________________________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/dev



Posted on the dev mailing list.