in reply to Generate a truth table from input string
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Generate a truth table from input string
by tachyon-II (Chaplain) on May 13, 2008 at 15:35 UTC | |
by ikegami (Patriarch) on May 13, 2008 at 16:43 UTC | |
by tachyon-II (Chaplain) on May 13, 2008 at 18:40 UTC | |
by ikegami (Patriarch) on May 13, 2008 at 18:43 UTC | |
by tachyon-II (Chaplain) on May 14, 2008 at 00:30 UTC | |
| |
|
Re^2: Generate a truth table from input string
by Anonymous Monk on May 13, 2008 at 15:07 UTC | |
by psini (Deacon) on May 13, 2008 at 15:12 UTC | |
by toolic (Bishop) on May 13, 2008 at 15:54 UTC | |
by ikegami (Patriarch) on May 13, 2008 at 15:32 UTC |