How to implement NOR, NAND, XNOR in math.js? <p>I would like to somebody help me. There is a very good JS library math.js. It implements boolean logical operators NOT, OR, AND, XOR. I need the others ones: NOR, NAND, XNOR.</p> <p>I know that NOR is NOT OR, but; there is a problem I need this operators to be able to use them as a string input to evaluate, for example:</p> <blockquote> <p>(A OR B) XNOR C<br> B NAND (NOT (A OR B AND C))</p> </blockquote> <p>The math.js has a parser and can deliminate (?) the string to the structure with nodes and evaluate it. But, it knows NOT, OR, AND, XOR only.</p> <p>Is my request clear? Anybody help me?</p> <p>Thanks!</p>