in reply to Need Parse::RecDescent Help
It seems to me that without a consistent structure, a hierarchical grammar will not really help you. But you can loosen the rules of a grammar to accept more possibilities. For instance,
has only some possible combinations, butshowinfo : artist date location | artist punct date location | date artist location | artist location date
will allow the showinfo components to be in any order.showinfo: showpart(s) showpart: artist | date | punct | location
-Mark
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Need Parse::RecDescent Help
by Bklyn (Initiate) on Mar 10, 2004 at 15:12 UTC |