grammar: line(s?) /\z/ { $item[1] } line: command arg(s?) "\n" { [$item[2], $item[3]] } command: /\w+/ arg: