I got a thing that can convert 4 logic signals into 4 bits on a display. So give high, low, low, high and the display will say 1001.
and also made a thing that can convert 4 bits on a display to 4 logic signals.
It's not very impressive and uses 4-6 (can't remember) regexi (is that the plural...