ternaria

Documentation › ternaria-emulator

ternaria-emulator

API documentation, generated from source on every build. Pick a crate to read its types, or start with the one your work touches.

Source on GitLab

Crates

ternaria-arith

Balanced ternary arithmetic: the trit, tryte, word and double-word types underpinning the Ternaria platform

ternaria-dev

Memory-mapped devices and the bus that routes to them

ternaria-fs

The Ternaria filesystem format, and a host-side builder for images

ternaria-isa

The Ternaria instruction set: one description, from which the encoder, decoder and disassembler are all derived

ternaria-mem

Sparse, BCT-backed guest memory for the Ternaria emulator

ternaria-os

A command-line operating system running on tryte code

ternaria-vm

The Ternaria reference interpreter: fetch, decode, execute

These crates are not published to crates.io — this site is the reference. Build them from source with cargo doc --open, or read the decision register for why each one is shaped the way it is.