Links
LEGO logic gates and mechanical computing
randomwraith.com
My mechanical logic gates take one-stud length of motion and convert it to another one-stud of linear motion.
I have now designed working versions of all the basic gates, the NOT, OR, NOR, AND, and NAND gates.