Skip to content
/ bf Public

Having some fun with bf, it's a beautiful language even with having such a silly name.

Notifications You must be signed in to change notification settings

superswan/bf

Repository files navigation

BrainF***

Having some fun with bf

bf - simple interpreter that takes input from files. variable tape size.

ascii2bf - converts ascii text into a bf program

bfloader - Loads hex escaped shellcode ("\xaa\xff") converted to bf program

[WIP] bfexec - Executes bf encoded shell commands

example:
    // ascii2bf and bf interpreter
    File 'helloworld' contains string "Hello, World!"
    $ ascii2bf "$(cat helloworld)"
    >--->--->--->++>+>--->->--->->>-->->->->->+++>-->->>++>-->+>+>--->->+++>--->+++>-->->>-->->>-->->>--->->->>-->+[<+++[-<+++++++>]<+++[-<+++++++>]<+++[.>]<]
    $ ascii2bf "$(cat helloworld)" > helloworld.bf
    $ bf -f helloworld.bf
    Hello, World!

Screenshots

bfloader

About

Having some fun with bf, it's a beautiful language even with having such a silly name.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published