in reply to Maintaining horrible C with Parse::RecDescent
Could you instead reformat the tables to some easily parseable format, and maybe surround them with comment markers your perl script could locate?
That way, you only have to worry about parsing/generating the tables themselves, which is a MUCH simpler problem. You can probably even do it with relatively simple regexen, without having to drag in Parse::RecDescent.
There's nothing wrong with parser generators, and REALLY nothing wrong with P::RD, but I think it's probably overkill for what you need.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Try another tack...
by isotope (Deacon) on Mar 15, 2002 at 16:17 UTC | |
by RMGir (Prior) on Mar 15, 2002 at 16:31 UTC | |
by isotope (Deacon) on Mar 15, 2002 at 16:44 UTC | |
|
Re: Try another tack...
by RMGir (Prior) on Mar 15, 2002 at 17:14 UTC | |
by isotope (Deacon) on Mar 15, 2002 at 17:20 UTC | |
by RMGir (Prior) on Mar 15, 2002 at 17:41 UTC |