Help for this page

Select Code to Download


  1. or download this
    yapp -v myParser.yp
    
  2. or download this
    1 shift/reduce conflict
    
  3. or download this
    use MyParser;
      $parser=new MyParser();
    ...
      $nberr=$parser->YYNberr();
      $parser->YYData->{DATA}= [ 'a and ( b or c)' ];
      $data=$parser->YYData->{DATA}[0];
    
  4. or download this
    
    Syntax error.
    Can't locate object method "new" via package "MyParser" (perhaps you f
    +orgot to l
    oad "MyParser"?) at myparser.pl line 2, <STDIN> line 1.