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 :-/.
In reply to Parsing and Translation pt.2 by speedyshady
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |