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