Skip to content

v0.1.0-alpha-preview

Pre-release
Pre-release

Choose a tag to compare

@PonvasanthPon PonvasanthPon released this 24 Nov 10:14
· 253 commits to main since this release

The TransCompilator (tc_r1) — v0.1.0-alpha-preview

First public alpha preview of The TransCompilator (tc_r1) — a deterministic, zero-ML, zero-external-crate Rust compiler that compiles natural English (.eng) directly into standalone, static, zero-libc x86_64 ELF64 binaries.

Highlights

  • 100% std-Only Rust Workspace: 9 local tc-* crates with 0 external crates in Cargo.lock (CARGO_NET_OFFLINE=true).

  • Deterministic Linguistic Frontend:

  • Vendored CMU Link Grammar 5.13.2 + provenance-backed Open English WordNet 2025 & VerbNet 3.4 lexicon tables.

  • Compositional English expressions & clause graphs (where, Given, , then, contractions, spoken numbers, recursive math noun phrases, Repeat while:, For each ... in ..., If ... Otherwise).

  • Discourse & anaphora engine (it, its <field>, their, that <noun>, the result, cross-sentence loops, check whether ... / none of them do, implicit count it / how many ... were found).

  • Grammatical narrative safety (COMMENT_OMITTED for narrative prose) + live Levenshtein typo suggestions and empty-loop guards.

  • Verified Core-7 IR & Static Zero-Libc ELF64 Backend:

  • Typed AST, modules, records, unions, compile-time monomorphized generics, and static IR verification (tc-typeck + tc-ir).

  • Direct Intel-syntax x86_64 emission linked to reproducible, byte-identical static zero-libc ELF64 binaries (0 INTERP, no dynamic section) verified against a byte-accurate Reference IR Interpreter.

  • 8 Pure-English Standard Library Modules (std/*.eng):

  • core, alloc, io, string, list, fs, map, and math written in natural, readable English with automatic prelude support.

  • Editor & LSP Tooling:

  • Native std-only tc-lsp Language Server (live diagnostics, WordNet/VerbNet & anaphor hover, context-aware autocomplete, go-to-definition into std/*.eng, outline symbols, semantic tokens).

  • Offline, zero-AI Zed dev extension (editors/zed/) with monochrome novel-style typography and one-key run/trace/paraphrase tasks, plus r1-editor TUI.

Verification Snapshot

  • 1,054 / 1,054 tests passing (0 clippy warnings, rustfmt clean)
  • 833-cell Statement × Target × Scope orthogonality matrix (798 PASS / 35 N/A / 0 FAIL)
  • 152-program casual human-English battle-test suite (120 discovery + 32 held-out) with IR runtime-honesty & ELF64 parity checks
  • 5,000+ fuzz/crash seeds with 0 panics
  • Reproducible SHA-256 static ELF64 builds

Quickstart (Linux x86_64)

CARGO_NET_OFFLINE=true cargo build --workspace --release
./target/release/tc --selftest
./target/release/tc run examples/hello.eng

Alpha Preview & Licensing Notice

  • Stage: 0.1.0-alpha-preview — Linux x86_64 only (requires Rust 1.85+ / edition 2024 and GNU as/ld). The English grammar surface and runtime standard library are actively evolving; see MANIFEST.md for planned multilingual frontends and multi-target backends.
  • License: Copyright (c) 2026 Ponvasanth. All Rights Reserved (see LICENSE). Third-party components and datasets remain under their respective licenses (see THIRD_PARTY_NOTICES.md).