Ruby休みだったのでビールを飲みました.その勢いを借りて5分程でBrainf*ck処理系を作ってみるなどしました.ビールとRubyを一緒にキメたので非常に良い気分です.動画あわせて読みたいとても面白いので是非買いましょう.作った処理系 # Five minutes for cooking language by Ruby. class Brainf_ck def self.run(src) b=check_bracket(src) pc=0 p=0 t=Array.new(1000, 0) while pc case src[pc] when ?> then p+=1 when ? then p-=1 when ?+ then t[p]>255 ? t[p]=0 : t[p]+=1 when ?- then t[p]0 ? t[p]=255 : t[p]-=1 when ?. then