Repository navigation
Releases
v0.2.0-alpha-preview
The TransCompilator (tc_r1) — v0.2.0-alpha-preview
Second alpha preview of The TransCompilator (tc_r1) — expanding from a desktop compiler into a full novel-prose English system with an installable offline WebAssembly playground and 1,000 verified algorithmic programs.
Highlights
-
Browser WebAssembly Playground & Offline PWA (
[ponvasanthpon.github.io/TransCompilator/](https://ponvasanthpon.github.io/TransCompilator/)): -
Zero-dependency
tc_wasmcrate (0imports,0external crates) running Core-7 IR inside a Web Worker with a 2,000,000-step safety budget. -
Compiler-driven novel-style semantic typography (bold actions, underlined variables, italic anaphors & strings, muted italic prose) with zero caret drift.
-
Installable offline PWA (
manifest.webmanifest,"TC"serif icons, Service Workertc-playground-v9) in a strict 7-color palette. -
Collapsible top-left hamburger drawer indexing all 1,000 solved programs, plus an About essay (
about.html),llms.txt, 20 static HTML/Markdown chunks,sitemap.xml(1,044URLs), and Schema.org JSON-LD. -
1,000 / 1,000 Novel-Page LeetCode MBT (
#0001–#1379): -
Zero lazy algorithmic skips across all eligible algorithmic problems (
0001–1379), enforcing the automated Novel-Page Silhouette Gate (0violations: zeroLet/Append, zero indentation/colons/End., zero math symbols, zero single-letter loop vars, flowing wrapped book paragraphs). -
100% verified for IR runtime-honesty (
Stmt::Loop/Stmt::If/recursiveCall) and exact 3-way parity acrosstc interp, static zero-libcx86_64ELF64, andtc_wasm.wasm. -
General Writer-Prose Compiler Upgrades (still
0new Core-7 IR opcodes,0external crates): -
Native 2D grids (
The grid is a rows by cols grid of zeros.,Set/Increase/Decrease cell r, c of grid). -
Unindented prose loops,
Otherwise, ifmulti-action branches, inlinestop/skip, unindented prose recursive functions with shared state, inline shared initializers (Keep a shared ... holding ...), and naturalList/String/Map/Bitwiseprose. -
Deep Risk & Adversarial Hardening:
-
Fixed multi-byte UTF-8 boundary slicing in
tc-syntaxandtc-lsp, added a Link GrammarSIGILLpreflight fallback, bounds-checkedcharacter <pos> of <text>, and generalizedsortlist-pointer coercion.
Verification Snapshot
- 1,113 / 1,113 native tests passing (
0clippy warnings,rustfmtclean,9localtc-*crates,0external crates) - 1,000 / 1,000 MBT programs passing 3-way parity (
tc interp == ELF64 == WASM) +0tc-lspdiagnostics - 40,000 adversarial fuzz evaluations (
10,000native +10,000LSP +10,000WASM eval +10,000WASM highlight) with0panics,0traps, and0hangs
Quickstart (Linux x86_64)
CARGO_NET_OFFLINE=true make build
./target/debug/tc --selftest
./target/debug/tc run examples/hello.eng
v0.1.0-alpha-preview
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 localtc-*crates with 0 external crates inCargo.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, implicitcount it/how many ... were found). -
Grammatical narrative safety (
COMMENT_OMITTEDfor 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_64emission linked to reproducible, byte-identical static zero-libc ELF64 binaries (0INTERP, 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, andmathwritten in natural, readable English with automatic prelude support. -
Editor & LSP Tooling:
-
Native
std-onlytc-lspLanguage Server (live diagnostics, WordNet/VerbNet & anaphor hover, context-aware autocomplete, go-to-definition intostd/*.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, plusr1-editorTUI.
Verification Snapshot
- 1,054 / 1,054 tests passing (
0clippy warnings,rustfmtclean) - 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
0panics - 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— Linuxx86_64only (requires Rust 1.85+ / edition 2024 and GNUas/ld). The English grammar surface and runtime standard library are actively evolving; seeMANIFEST.mdfor 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 (seeTHIRD_PARTY_NOTICES.md).