in reply to Operator precedence (or, I'm an idiot)
Buy a lot of Jolt and be prepared to work long hours. Your other alternative is to write a Perl parser to check for all occurances of 'and' and 'or' in an expression.
You could speed up the process using grep (the *nix command, not the builtin) to search for all occurances of 'and' and 'or' in your code and print the line numbers.
----
Reinvent a rounder wheel.
Note: All code is untested, unless otherwise stated
|
|---|