Chart parser implementation in Ruby based on Marpa