generate operator precedence hash on startup; add modulo operator for ~calc