According to Ovid who has looked into the different logic programming modules on CPAN it doesn't seem like any of them do the job that well. Otherwise I'd recommend you to look into logic programming. Ovid has written some nodes about it, perhaps you want to look at Bringing Logic Programming to Perl. One of Prolog 's problem domains is grammar parsing, so building trees and matching against them is a job it does well. Perhaps you can even utilize an external Prolog program in your Perl program?
ihb
See perltoc if you don't know which perldoc to read!
Read argumentation in its context!
In reply to Re: Parsing a tree instead of a string?
by ihb
in thread Parsing a tree instead of a string?
by nothingmuch
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |