cos_not - CosmicOS circuit

Logic circuits are used in the CosmicOS message. For simplicity, a single kind of gate is used, the unless gate. We represent the gate as an arrow element. The elements copies the truth value of whatever is at its tail, and a simple sequence of the elements can be used as a regular wire. If an element meets a wire at its head, then it forces that wire to FALSE if its one value is TRUE.

Fork me on GitHub