Help for this page

Select Code to Download


  1. or download this
    grammar: line(s?) /\z/ { $item[1] }
    line: <skip:[ \t]+> command arg(s?) "\n" { [$item[2], $item[3]] }
    command: /\w+/
    arg: <perl_quotelike>
    
  2. or download this
    grammar: line(s?) /\z/ { $item[1] }
    line: <skip:'[ \t]*'> command arg(s?) "\n" { [$item[2], @{$item[3]}] }
    command: /\w+/
    arg: /\w+/ | <perl_quotelike> { $item[1][2] }