Rewriting the Ruby parser