I am trying to create a grammar and need some guidance. I've got it 'almost' working, but need help with the nested parsing. Below is what i've got so far, w/ the example of what to parse under __DATA__.
Sorry, I can't help you, because I don't know Parse::RecDescent. However I feel like giving you a suggestion about how to better ask your question. In fact you say that your solution is "'almost' working", but you fail to specify in what exactly it does not work. Also, you give an example of "what to parse" but you fail to specify how you want it to be parsed. Last, had you not used the abbreviation P::RD in the subject (in the body of your post it would have been fine) you would have increased the possibilities that someone knowledgeable with that module would notice it in say NN. All in all your question is better asked than others one can find here, but in any case I point you to How do I post a question effectively?, which may be helpful.
In reply to Re: nested parsing with Parse::RecDescent
by blazar
in thread nested parsing with Parse::RecDescent
by loomis53
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |