Month: February 2014

New type provider – Brainfuck

I know what you’re thinking. You really like the look of F# but your legacy brainfuck applications are stopping you from making the jump. Well worry no more, the brainfuck type provider is here to save you.

The type provider allows access to both the console output as well as the data stored in memory at the end of the program’s execution. It’s really easy to use as well.


type HelloWorld = Brainfuck.TypeProvider.BrainfuckProvider<"++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.">

let output = HelloWorld.ConsoleOuput

The project’s available on GitHub now at https://github.com/bruinbrown/BrainfuckTypeProvider but I’ll try and get a NuGet package available soon as well.