Help for this page

Select Code to Download


  1. or download this
    # ( a OR b ) AND ( c ) NOT ( d ) AND ( e OR f )
    [
    ...
       [ NOT => 'd' ],
       [ AND => 'e', 'f' ],
    ]
    
  2. or download this
    # make_parser.pl
    
    ...
    
    Parse::RecDescent->Precompile($grammar, "QueryParser")
       or die("Bad grammar\n");
    
  3. or download this
    # query_parser.pl
    
    ...
          display($expr, $tree);
       }
    }