Help for this page

Select Code to Download


  1. or download this
    start: tree
    tree: '(' treestr(s) ')'
    ...
    tagstr: TAG ( tree | word )
    TAG: /[A-Z.]+ /
    word: /[\w?]+/
    
  2. or download this
    #!/usr/bin/perl
    
    ...
    my $result = $parser->start( \$text );
    print $text, "\n";
    print Dumper($result);