Algorithm for converting a normal boolean expression to a NAND form expression
Actually I want to implement logic circuit using only NAND gates. So I have to convert the given expression to an expression which is suitable for NAND gate implementaion. Is there any optimized algorithm to do it?I want the minimum number of gates. I want to do it using any programming language.