Skip to content

v0.3.3

@simeon-kepp simeon-kepp tagged this 16 Apr 19:51
- `ternlang check <file|dir>` — parse-only validator, walks directories, per-file ok/error + fn count
- `ternlang exec <file.tbc>` — run pre-compiled bytecode; completes the build→exec pipeline
- `ternlang run --debug` — verbose register dump with variable name labels from symbol map
- `ternlang run` — clean coloured result box by default (was: all-trit(tend) register noise)
- `ternlang <file>` shortcut — bare file dispatches to run (no explicit subcommand needed)
- `ternlang build` fixed — now emits header-jump + entry_call("main"); .tbc files are self-contained

Publish order: core → hdl → ml → moe → compat → lsp → runtime → cli

- Full extension rebuilt from scratch (was stub package.json with 500 downloads, zero functionality)
- TextMate grammar: keywords, types, trit constants (affirm/tend/reject), @attributes, functions, operators, strings, comments
- 8 snippets: main, fn, exhaustive 3-way match, let, @sparseskip, consensus, invert, tensor
- 5 editor commands: run, runDebug, build, check, repl (editor title + context menus)
- Check-on-save diagnostics via ternlang check
- Settings: ternlang.executablePath, ternlang.checkOnSave
- Registry: Open VSX ONLY — not published to Microsoft VS Marketplace

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Assets 2
Loading