speedyshady has asked for the wisdom of the Perl Monks concerning the following question:
I posted a question earlier about how to parse a file containing 4Test code with Parse::RecDescent (http://www.perlmonks.org/?node_id=849987), though I'm not really sure how to get this working the way I would like. I've defined my grammar, and ran some evals and it seems to be working fine, but hopefully this isn't all for naught--what I want to do is take arguments from a command line (.txt) and then parse the file. Then I want to print the results to either a new file or instead, overwrite it. I can't seem to find any examples that pertain to my situation. In synopsis I want: 4Test => Perl
Parse::RecDescent is quite difficult to understand fully, but I hope someone can comprehend what I'm trying to do or tell me that I have it completely wrong :-/.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Parsing and Translation pt.2
by graff (Chancellor) on Aug 06, 2010 at 22:12 UTC | |
|
Re: Parsing and Translation pt.2
by toolic (Bishop) on Aug 06, 2010 at 18:04 UTC | |
by speedyshady (Novice) on Aug 06, 2010 at 18:27 UTC | |
by toolic (Bishop) on Aug 07, 2010 at 01:21 UTC | |
by ikegami (Patriarch) on Aug 09, 2010 at 16:45 UTC |