ternlang-cli-0.3.3 is not a library.
ternlang-cli
Command-line interface for the Ternlang Balanced Ternary Execution VM.
Install
Commands
| Command | Description |
|---|---|
ternlang run <file.tern> |
Compile and execute a .tern program on the BET VM |
ternlang build <file.tern> |
Compile to .bet bytecode |
ternlang sim <file.tern> |
Hardware simulation (RTL/Verilog via ternlang-hdl) |
ternlang fmt <file.tern> |
Format source file |
ternlang repl |
Interactive ternlang REPL |
ternlang compat <file> |
Run compatibility bridge (.tasm or Owlet) |
ternlang benchmark |
Run @sparseskip vs dense matmul benchmark |
Quick start
# Run a ternlang program
# Compile to bytecode
# Interactive REPL
>>> let ;
>>> return );
License
LGPL-3.0-or-later. See LICENSE.