in reply to Re: Help with Parse::RecDescent grammar
in thread Help with Parse::RecDescent grammar
I updated my code with your suggestions and it will now parse.
However, the data tree which is built isn't clear to me at all.
Is there a better way to store the parsed data so it is more meaningfule?
$VAR1 = [ bless( { '__RULE__' => 'portDefinition', 'portLists' => bless( { '__RULE__' => 'portLists', 'list(s?)' => [], '__STRING1__' => '\'' }, 'portLists' ), 'QUOTED_STRING' => ' quoted_char=HASH(0x3a0c54)', '__STRING1__' => 'dbSetCellPortTypes' }, 'portDefinition' ) ];
Thanks,
Frank
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Help with Parse::RecDescent grammar
by ikegami (Patriarch) on Dec 12, 2006 at 16:58 UTC | |
by dramguy (Novice) on Dec 12, 2006 at 17:43 UTC | |
by ikegami (Patriarch) on Dec 12, 2006 at 20:20 UTC | |
by dramguy (Novice) on Dec 13, 2006 at 14:25 UTC | |
by ikegami (Patriarch) on Dec 13, 2006 at 16:47 UTC | |
| |
|
Re^3: Help with Parse::RecDescent grammar
by philcrow (Priest) on Dec 12, 2006 at 16:53 UTC |