Propositional Logic Expression Evaluator

This is a simple-minded Propositional Calculus expression evaluator written using PLY that can be used to generate the truth table for an expression. The operators provided are Use parentheses to control the order of evaluation. Otherwise, you might get funny results. Variables begin with a letter followed by 0 or more alphanumeric characters.

There is currently minimal type checking in place, so incorrect expressions will generate an error that gives little clue about what went wrong.

Examples

Type your expression and click submit

Expression: