Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 590 Bytes

README.md

File metadata and controls

29 lines (20 loc) · 590 Bytes

ruby-brain ><+-.,[]

Brainfuck interpreter in Ruby. Uses jump table and checks for unmatched [].

Help

$ ruby main.rb --help
usage: ruby main.rb [-h] [-v] file_name

positional arguments:
  file_name      brainfuck source code file

optional arguments:
  -h, --help     show this help message and exit
  -v, --version  print version number on screen and exit

Usage

$ ruby main.rb ./hello.bf
Hello World!

Links