cd /news/developer-tools/the-transcompilator-tc-r1-v0-2-0-a-d… · home › topics › developer-tools › article
[ARTICLE · art-178446] src=dev.to ↗ pub= topic=developer-tools verified=true sentiment=↑ positive

The TransCompilator (tc_r1) v0.2.0: A Deterministic English-to-ELF64/Wasm Compiler in std-Only Rust

A developer released The TransCompilator (tc_r1) v0.2.0-alpha-preview, a deterministic, rule-based English-to-code compiler written in nine std-only Rust crates with zero external dependencies and zero Wasm imports. It compiles unindented natural English (.eng) into zero-libc x86_64 ELF64 binaries and WebAssembly without LLMs or neural weights, and the developer reports compiling and verifying 1,000 of 1,000 eligible LeetCode problems with identical output across the interpreter, ELF64, and Wasm backends.

key takeaway

tc_r1 compiles plain English .eng source deterministically to identical output across its interpreter, zero-libc x86_64 ELF64, and Wasm backends, verified on 1,000 LeetCode problems with no LLM involved.

by read4 min views7 publishedNov 30, 2026

Natural-language programming has been attempted for decades—from COBOL and Inform 7 to academic NLP-to-code prototypes and modern LLM wrappers. Almost all of them end up in one of three dead ends: disguised procedural syntax wearing English keywords, narrow domain sandboxes, or probabilistic neural networks guessing at program behavior.

Today I am releasing The TransCompilator (tc_r1) v0.2.0-alpha-preview: a deterministic, rule-based English compiler built from scratch across 9 local std-only Rust crates ( 0 external crates, 0 Wasm imports). It compiles flowing, unindented natural English (.eng) directly into zero-libc x86_64 ELF64 binaries and WebAssembly—with no LLMs, no neural weights, and no black boxes.

v0.2.0-alpha-preview Release:.eng Code Actually Looks Like One of the hardest traps in natural-language compiler design is quietly sneaking traditional syntax back in through colons, indentation blocks, End. markers, or Let x = ... statements.

To prevent that drift, every program in the 1,000-problem benchmark must pass an automated Novel-Page Silhouette Gate (0 violations):

End. markersLet / Append keywords+, -, *, /, =) Here is #0001 · Two Sum compiled directly from .eng source:

Start with the list of numbers 2, 7, 11, and 15. The target is 9. For every first from 0 to the last position of numbers. For every second from one more than first to the last position of numbers, if item first of numbers plus item second of numbers is target, display first, display second, then stop.

And here is #0002 · Add Two Numbers, showing while loops, carry arithmetic, modulo/division, and list construction in plain sentences:

The firstlist holds 2, 4, and 3, while the secondlist holds 5, 6, and 4. Start with an empty list for the answer, a carry of 0, and a position of 0. The firstlast is the last position of firstlist. The secondlast is the last position of secondlist. Repeat while position is at most firstlast or position is at most secondlast or carry is 1. The sum is carry. If position is at most firstlast, set sum to sum plus item position of firstlist. If position is at most secondlast, set sum to sum plus item position of secondlist. Place sum modulo 10 into answer. Set carry to sum divided by 10. Add 1 to position. For each value in answer, show value.

In the browser playground, instead of rainbow syntax highlighting, the compiler drives novel-style semantic typography directly from its parse tree: bold for actions, underlined for variables, italic for anaphors and strings, and muted italic for prose—rendered with zero caret drift.

Given the same .eng source, tc_r1 lowers to the exact same intermediate representation every single time.

The grid is a rows by cols grid of zeros., Set/ Increase/ Decrease cell r, c of grid) Otherwise, if multi-action branches, and inline stop/ skip Keep a shared ... holding ...) List, String, Map, and Bitwise prose0 New Opcodes in v0.2)v0.2.0 prose features lower cleanly into the existing stdout to see every lowering step.tc interp), a static zero-libc x86_64 ELF64 backend emitting direct Linux binaries, and tc_wasm.wasm running offline inside a browser Web Worker with a 2,000,000-step safety budget. Toy examples make almost any parser look good. To stress-test real control flow, state tracking, recursion, 2D dynamic programming, sorting, and character parsing, I compiled and verified 1,000 / 1,000 eligible LeetCode algorithmic problems (#0001–#1379) in .eng syntax.

Every single solution is checked for:

Stmt::Loop, Stmt::If, or recursive Call—no precomputed answer printing) tc interp == ELF64 == WASM) tc-lsp diagnostics Along the way, v0.2.0-alpha-preview also closed out several deep hardening issues—fixing multi-byte UTF-8 boundary slicing in tc-syntax and tc-lsp, adding a Link Grammar SIGILL preflight fallback, bounds-checking character <pos> of <text>, and generalizing sort list-pointer coercion.

Suite Result
Native test suite 1,113 / 1,113 passing (0 clippy warnings,rustfmt clean)
Workspace dependencies 9 localtc-* crates,0 external crates,0 Wasm imports
1,000-problem MBT ( #0001–#1379 ) 1,000 / 1,000 3-way parity (interp == ELF64 == WASM ),0 LSP diagnostics
Adversarial fuzzing 40,000 evals (10k native +10k LSP +10k WASM eval +10k WASM highlight) —0 panics,0 traps,0 hangs

All 1,000 original .eng programs and their expected stdout are browsable in the static HTML catalog (and indexed via llms.txt across 20 chunks), with direct deep links into the playground.

Because the workspace has zero external crates, it builds completely offline:

git clone https://github.com/PonvasanthPon/TransCompilator.git
cd TransCompilator
CARGO_NET_OFFLINE=true make build
./target/debug/tc --selftest
./target/debug/tc run examples/hello.eng

Or open the WebAssembly Playground right in your browser (it also installs as an offline PWA via Service Worker) and open the top-left drawer to load any of the 1,000 programs.

Getting here took six months, two failed unified-language experiments (VENBA and MALAR), a lost C++ macro wrapper ( KP++), two bare-metal prototypes ( Ember and Frozen), and four compiler rewrites (the full story is written up on the About page).

tc_r1 is still at v0.2.0-alpha-preview, with deeper systems features and multilingual human-language front ends targeting Core-7 IR still ahead. If you are into compilers, parsers, IR design, or language ergonomics, try breaking it in the playground—I would genuinely appreciate your critique on Core-7 IR, discourse resolution, or any English phrasing that trips it up.

── more in #developer-tools 4 stories · sorted by recency
── more on @the transcompilator 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/the-transcompilator-…] indexed:0 read:4min 2026-11-30 · —