Repository navigation
v0.2.0-alpha-preview
Pre-releaseThe 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