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.

3 comments

  1. Can you extend this type-provider to support my brainfuck extension characters for monadic composition? My PL/I to Brainfuck translator requires this abstraction. thanks

  2. Pingback: Date Types

Leave a comment