Skip to content

Interpreters for the brainfuck language in multiple programming languages

License

Notifications You must be signed in to change notification settings

Nicolas-Reyland/multi-lang-brainfuck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

multi-lang-brainfuck

Interpreters for the brainfuck language in multiple programming languages

Do not hesitate to add your own implementations through pull requests !

Usages

Example Usage

If the interpreter is a compiled binary file, it should be used like this :

./interpreter ../examples/helloworld.b
./interpreter .../examples/fibonacci.b
./interpreter ../examples/life.b

Python

python interpret.py brainfuck-source-file

Haskell

ghc interpret.hs
./interpret brainfuck-source-file

C

gcc interpreter.c -o interpreter
./interpret brainfuck-source-file

C++

g++ interpreter.cpp -o interpreter
./interpret brainfuck-source-file

Rust

rustc interpret.hs
./interpret brainfuck-source-file

TODO

  • Python
  • C
  • C++
  • Haskell
  • JavaScript
  • Rust
  • OCaml
  • Ruby
  • C#

About

Interpreters for the brainfuck language in multiple programming languages

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published