Just another Perl shrine | |
PerlMonks |
Re: Generate a truth table from input stringby moritz (Cardinal) |
on May 13, 2008 at 14:58 UTC ( [id://686287]=note: print w/replies, xml ) | Need Help?? |
Ah well, what stops you?
You could of course look to cpan to see if there's anything that can help you. If you want to parse the string yourself, take a look at RFC: Parsing with perl - Regexes and beyond and perhaps at Parse::RecDescent. Evaluation should be pretty simple once you have a parse tree.
In Section
Seekers of Perl Wisdom
|
|