Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Ternary ClubNew to Visual Studio Code? Get it now.
Ternary Club

Ternary Club

Ternary Club

| (0) | Free
TERRY and TRUMAN language support for Visual Studio Code: highlighting, diagnostics from terryc and truman, and build and run commands.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Ternary Club for VS Code

TERRY and TRUMAN support for the Ternary Club toolchain, right in your editor.

ternary.cdias.dev

TERRY is the assembly language of the TAYLOR ternary processor, and TRUMAN is the structured language that compiles to it. This extension makes .try and .tru files feel native in Visual Studio Code, and it is for anyone learning or writing ternary code with the Ternary Club tools.

Features

Editing

  • TERRY highlighting for keywords, sizes, mnemonics, registers, labels (with Continue and End set apart), numbers in decimal, ternary, balanced ternary and heptavintimal, characters, strings and operators.
  • TRUMAN highlighting for keywords, types, constants, built-in functions, numbers, characters, strings and operators.
  • Comment toggling, bracket matching and auto-closing for brackets and quotes, plus block indentation and folding for TRUMAN.

Diagnostics

  • Errors from the real assembler (terryc) and compiler (truman) appear as you type and when you save, with the exact line and column.
  • One clear message if terryc or truman can't be found, instead of an error on every keystroke.

Build and run

  • "Ternary Club: Build" assembles a .try file, or compiles a .tru file, into a .ter program.
  • "Ternary Club: Run" builds it and runs it on TAYLOR in the integrated terminal.
  • The same commands are available as ternaryClub tasks for your own tasks.json.

Settings

Setting Default What it does
ternaryClub.terrycPath terryc The assembler to run for .try files
ternaryClub.trumanPath truman The compiler to run for .tru files
ternaryClub.taylorPath taylor The processor used by Run

They are machine settings: a workspace you open cannot point them at another program.

Parts

Part What it is
syntaxes/ The TERRY and TRUMAN grammars, generated from TERRYC's and TRUMAN's token definitions
language-configuration.json, truman-language-configuration.json Comments, brackets, auto-closing, and TRUMAN indentation and folding
src/ The extension: diagnostics, build and run
scripts/ The grammar generator
test/ Grammar and unit tests

Status

Released on Open VSX and the Visual Studio Marketplace.

Building, testing and regenerating the grammar are described in AGENTS.md.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft