tern is a lightweight Go package for simple, concise ternary expressions, enabling clear conditional logic.
-
Updated
Sep 11, 2025 - Go
tern is a lightweight Go package for simple, concise ternary expressions, enabling clear conditional logic.
Three-valued logic based on Kleene's strong logic of indeterminacy
The trit package provides a Go implementation of three-level logic, including logical operations such as NOT, AND, OR, XOR, NAND, NOR, and XNOR.
Trilean is a Laravel package that pushes ternary logic beyond the classic true/false/unknown paradigm. Inspired by balanced-ternary computing principles—including trits, three-state logic gates, and ternary arithmetic — Trilean brings a mathematically elegant approach to handling multi-state logic in your Laravel applications.
website of the Trivalent musical project
C++ header-only library of a trit array
Add a description, image, and links to the three-valued-logic topic page so that developers can more easily learn about it.
To associate your repository with the three-valued-logic topic, visit your repo's landing page and select "manage topics."