Ruby
Ruby で Brainfuck インタプリタを実装する
はじめに Ruby で Brainfuck インタプリタを実装しました。できるだけ https://www.muppetlabs.com/~breadbox/bf/ にある仕様の記述をそのまま表す書き方にしています。例外処理はほとんどしていません。 ソースコード #!/usr/bin/env ruby # A Brainfuck program has an implicit byte pointer, called "the pointer". # It can move freely within an array of 30,000 bytes, all initially set to zero. # The pointer