Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    
    Parse::RecDescent->Precompile($grammar, 'Grammar')
        or die("Bad grammar\n");
    
  2. or download this
    #!/usr/bin/perl
    
    ...
    nested-square [ [ param ] ]
    multi-child { foo <foo> | bar <bar> }
    partially-optimisable { <foo> | [<bar>] | [<cat>] [<dog>] }
    
  3. or download this
    $ perl make_parser.pl && perl test.pl
    >> dfpm dataset add [-D] [-N <node-name>] <data-set-name-or-id> { [<vo
    +lume-name-or-id>] | [<qtree-name-or-id>] | [<ossv-dir-name-or-id>] | 
    +[<storage-system-name-or-id>] | [<host-name-or-id>] }
    ...
        ]
      }
    ];