Skip to content

Latest commit

Β 

History

History
42 lines (27 loc) Β· 879 Bytes

File metadata and controls

42 lines (27 loc) Β· 879 Bytes

trivial

trivial is a ternary computer written in Golang. It is an improved version of its predecessor, TAYLOR, written in C.

πŸ“ƒ Prerequisites

You must have Go 1.16+ in order to compile trivial.

βš™οΈ Compiling

First, clone this repository with the following command:

git clone https://github.com/thzoid/trivial.git

Then, compile it:

cd trivial
go build

πŸš€ Usage

For now, trivial is essentially a virtualized ternary memory. You can use it like:

./trivial <ternary memory> <tryte to read>

Example of usage:

./trivial +0-+0-+0-++- 1
------++-

πŸ“ License

Copyright Β© 2022 Thiago Antunes.
This project is MIT licensed.