Skip to content

thprfssr/c2bf

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

c2bf

c2bf is a compiler from a subset of C to brainfuck.

Build

Just run make build to build c2bf.

How to use

usage: ./c2bf.native [options] <C source-file>. The brainfuck output is in a.bf.

I recommend you beef http://kiyuko.org/software/beef as a brainfuck interpreter.

See ./c2bf.native --help for options.

Examples

There are examples in the directory tests. You should try them !

Why ? This is useless !

Because it's fun, and I like having fun.

About

Compiler from C to brainfuck

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • OCaml 90.8%
  • C 5.0%
  • Standard ML 3.0%
  • Other 1.2%