FAQ

Search Discussions

14 discussions - 53 posts

  • Hi, I'm struggling since few days, trying to parse text files, which contain C and C++ comments, some #if/#else/#endif statements and for the most part assignments happening on 1 line. The keyword in ...
    Alexander FarberAlexander Farber
    May 12, 2004 at 9:28 am
    May 28, 2004 at 10:18 pm
  • Hello, The CPAN page for Parse::Recscent (rating and tutorial pages) mention vast expected speed improvements in version 2.0. The expected date of arrival was Christmas, and 1.94 was released in Apr ...
    Aamer AkhterAamer Akhter
    May 6, 2004 at 12:23 pm
    May 13, 2004 at 5:34 pm
  • Hello, I recently downloaded the Parse::RecDescent package to parse boolean queries. I have several questions, not necessarily about the package itself, but rather about my grammar. I am currently ...
    Jonas WolfJonas Wolf
    May 20, 2004 at 12:50 pm
    Jun 25, 2004 at 3:23 pm
  • Hello, Is there a way of supressing the __VALUE__ hash that is added via a single terminal return in <autotree ? Right now I have to play silly little games on the return values. I realize that I ...
    Aamer AkhterAamer Akhter
    May 14, 2004 at 3:37 am
    May 15, 2004 at 1:39 pm
  • Hello, I have the following RD_AUTOACTION: $::RD_AUTOACTION = q{ if ($#item==1 && ($item- isterminal || ref $item[1] ne 'ARRAY')) { #if only one item, and is either a terminal or an array $return = ...
    Aamer AkhterAamer Akhter
    May 22, 2004 at 12:29 am
    May 22, 2004 at 3:08 am
  • Hi, why doesn't the question mark in the optarg(?) below work as I expect? In the trace I see that optarg consumes the " " character and then the option rule fails, since the final " " is missing. ...
    Alexander FarberAlexander Farber
    May 20, 2004 at 12:35 pm
    May 20, 2004 at 5:30 pm
  • Hi, could someone please help me few steps further? I'm almost finished with the parser I need. The only missing part is grokking C-preprocessor-like #if defined / #endif expressions, which can be ...
    Alexander FarberAlexander Farber
    May 17, 2004 at 10:39 pm
    May 18, 2004 at 3:14 pm
  • ok, I have written 8 tests scripts for a total of 227 tests cases (11 tests cases are presents in the current distribution of PRD). My test code is covering all the things said in the first half of ...
    Dominic LetarteDominic Letarte
    May 7, 2004 at 12:28 pm
    May 7, 2004 at 5:37 pm
  • Hi, this is probably a frequent problem. What would be the best way to skip backslashes which are supposed to break a long line in few shorter lines, like: SRC = file1 \ file2 \ file3 file4 Would ...
    Alexander FarberAlexander Farber
    May 30, 2004 at 12:20 am
    May 31, 2004 at 5:51 pm
  • Hi, I have a text consisting of keyword/value assignments, placed on 1 line (please see the __DATA__ on the bottom). Some of the assignments are surrounded by START/END: START WINS key1 val1 val2 END ...
    Alexander FarberAlexander Farber
    May 17, 2004 at 12:29 am
    May 17, 2004 at 11:53 am
  • Just FYI, I've registered a perl bug for that issue http://rt.perl.org/rt3/Ticket/Display.html?id=29576
    Alexander FarberAlexander Farber
    May 14, 2004 at 9:26 am
    May 14, 2004 at 4:14 pm
  • Sorry, but few more questions. Since the text I'm trying to parse consists mostly of 1-line statements, I've decided to try parsing it with the $Parse::RecDescent::skip set to '[ \t]*': ...
    Alexander FarberAlexander Farber
    May 13, 2004 at 9:50 pm
    May 13, 2004 at 9:50 pm
  • Hi, I'm getting this error: 3|assignment| Matched repeated subrule: [value]<< | 3|assignment|Trying action | Can't use an undefined value as an ARRAY reference at (eval 12) line 299, <DATA line 4. ...
    Alexander FarberAlexander Farber
    May 13, 2004 at 8:51 pm
    May 13, 2004 at 8:51 pm
  • Hello, This is really an open-ended question... and I pre-apologize for my rambling style. So far all the examples of grammars I've seen are free standing on their own. We're eval'ing prd for ...
    Aamer AkhterAamer Akhter
    May 13, 2004 at 7:13 pm
    May 13, 2004 at 7:13 pm
Group Navigation
period‹ prev | May 2004 | next ›
Group Overview
grouprecdescent @
categoriesperl
discussions14
posts53
users14
websitemetacpan.org...