Rubyを改造して実装したパターンマッチの文法に機能を追加しました。 http://github.com/mas454/spcamp-ruby 1.ネストしたパターンに対応しました。 match [[10,20],30,40] when [[y,20],30,40] puts y end => 102. *パターンを追加しました。 match ["abc", :def, 10, 20, 30] when ["abc", *xs] puts xs end => def 10 20 30 まだ少しバグがありますが、そのうち直します。