Skip to content

v0.2.0-alpha-preview

Pre-release
Pre-release

Choose a tag to compare

@PonvasanthPon PonvasanthPon released this 30 Nov 06:53
v0.2.0-alpha-preview
ef39ee4

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_wasm crate (0 imports, 0 external 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 Worker tc-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,044 URLs), 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 (0 violations: zero Let/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/recursive Call) and exact 3-way parity across tc interp, static zero-libc x86_64 ELF64, and tc_wasm.wasm.

  • General Writer-Prose Compiler Upgrades (still 0 new Core-7 IR opcodes, 0 external 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, if multi-action branches, inline stop/skip, unindented prose recursive functions with shared state, inline shared initializers (Keep a shared ... holding ...), and natural List / String / Map / Bitwise prose.

  • Deep Risk & Adversarial Hardening:

  • Fixed multi-byte UTF-8 boundary slicing in tc-syntax and tc-lsp, added a Link Grammar SIGILL preflight fallback, bounds-checked character <pos> of <text>, and generalized sort list-pointer coercion.

Verification Snapshot

  • 1,113 / 1,113 native tests passing (0 clippy warnings, rustfmt clean, 9 local tc-* crates, 0 external crates)
  • 1,000 / 1,000 MBT programs passing 3-way parity (tc interp == ELF64 == WASM) + 0 tc-lsp diagnostics
  • 40,000 adversarial fuzz evaluations (10,000 native + 10,000 LSP + 10,000 WASM eval + 10,000 WASM highlight) with 0 panics, 0 traps, and 0 hangs

Quickstart (Linux x86_64)

CARGO_NET_OFFLINE=true make build
./target/debug/tc --selftest
./target/debug/tc run examples/hello.eng