We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

THCA

From Esolang
Jump to navigation Jump to search

THCA, or Ternary Hybrid Computer Architecture, is a computer architecture that operates on a hybrid of Balanced Ternary and Unbalanced Ternary.

Terminology

Trit: The ternary equivalent of a bit.
Tryte: The ternary equivalent of a byte, composed of 9 trits.
Trybble: The ternary equivalent of a nybble, composed of 5 trits.
T: True
U: Unknown
F: False

Operations

Balanced operations

Balanced AND(A, B)
A ∧ B B
F U T
A F F F F
U F U U
T F U T
Balanced OR(A, B)
A V B B
F U T
A F F F F
U F U T
T F T T