runner.rb: extract parse_next