Repository navigation
v4.0.0: The TinyTalk Revolution (.tnt)
TinyTalk v4.0.0 (.tnt) -- The Smalltalk Revolution & Explosive Performance
TinyTalk v4.0.0 marks the historic dawn of the post-text, live-object programming era. Combining the clean elegance of Python syntax, the living interactive heritage of Smalltalk-72/80, and the explosive bare-metal compilation speed of unboxed machine code, TinyTalk establishes a unified semantic programming substrate with 100% backward compatibility for all Black Mamba (.bmb) codebases.
🌐 Live Web Arena & Interactive Studio
- Production URL: https://tinytalk-lang.vercel.app
- Live In-Browser WebAssembly Compiler: https://tinytalk-lang.vercel.app/arena.html
- Smalltalk Reactive Studio & Inquisitor Agent: https://tinytalk-lang.vercel.app/studio.html
💻 Official Visual Studio Code Extension (tinytalk-4.0.0.vsix)
- Dual Syntax Grammar: First-class syntax highlighting and bracket matching for both
.tntand.bmbfiles. - Language Server Protocol (LSP 3.17): As-you-type Cartesian type diagnostics, struct autocomplete, go-to-definition, and 4-space code formatting.
- Install via CLI:
code --install-extension tinytalk-4.0.0.vsix
⚡ Flagship Real-World Application: High-Frequency Trading Engine (.tnt)
- Location:
examples/tinytalk_hft_engine.tnt - Features Demonstrated:
- Zero-cost stack-allocated structs (
Order,Trade,BookLevel). - Nanosecond IEEE-754 SSE2 floating point calculations and VWAP computation.
- Quantitative signal derivation via functional pipeline operator (
|>). - Single-cycle CPU jump table pattern matching on order execution actions.
- Deep order book sweeping (500,000 lots) via Automatic Tail-Call Optimization (
Auto-TCO) with zero stack expansion. - Multi-target compilation: builds cleanly to standalone Windows
PE32+ .exe(21 KB), LinuxELF64(14 KB), macOS Apple SiliconMach-O(35 KB), andWebAssembly(5 KB).
- Zero-cost stack-allocated structs (
🌟 Key Highlights & Innovations in v4.0.0
-
The TinyTalk (.tnt) Identity & Drop-In Runtime:
- First-class support for
.tntsource files, packages, and modules. - Dual-personality CLI: Available as both
tnt(primary) andbmb(legacy). - Automatic dual module resolution: Loads
.tntmodules with transparent fallback to.bmbacross stdlib, vendor dirs, and local projects.
- First-class support for
-
Living Image Persistence & Morphic Canvas:
- Persistent memory snapshots (
.tntimgwithTNTIMG01header) resuming full application state, active heap, and database in < 0.15 ms. - Dual-format backward compatibility supporting legacy
.bmbimg(BMBIMG01) images seamlessly. - Infinite 2D Morphic Canvas for spatial programming and visual dataflow wiring.
- Persistent memory snapshots (
-
Zero-Syntax Content-Addressed Semantic Hypergraph:
- Binary DAG storage format (
.tntgraphwithTNTGsignature) storing Blake3/SHA-256 content-addressed AST nodes. - Eliminates text parsing overhead and syntax errors entirely.
- Direct Hypergraph-to-MIR compiler pipeline compiling graphs directly to SSA MIR and machine code in < 0.28 ms.
- Binary DAG storage format (
-
Multi-Perspective Projections & Lossless Transmutation:
- Project any AST graph into Pythonic text, Morphic 2D flowcharts, or LaTeX math formulas instantaneously.
- Lossless 3-way transmutation (
tnt transmute/bmb transmute) with bit-for-bit JIT execution verification across.py,.tnt,.bmb, and.tntgraph.
-
100% Backward Compatibility Guarantee:
- Every
.bmbprogram, library, test suite, and module continues to compile and execute without modification. - Drop-in execution for
.tnt,.bmb,.tntgraph,.bmbgraph, and.py.
- Every
🛡️ Quality Certification & Verification
- 5-Stage Zero-Defect Pre-Release Gatekeeper:
[PASS]Stage 1: Standard library & self-hosting compiler syntax/MIR check.[PASS]Stage 2: Unit test suite discovery (275 / 275 tests passed 100%).[PASS]Stage 3: Adversarial compiler torture engine.[PASS]Stage 4: Multi-target emitter matrix (JIT, PE32+, ELF64, Mach-O, WASM, C11).[PASS]Stage 5: Packaging & manifest integrity check.
- Post-Release Adversarial Fuzzer:
- 210 / 210 Torture Cases Passed (100%) across 9 hostile vectors.
📦 Artifacts & Distribution Packages
tinytalk-4.0.0.vsix: Official Visual Studio Code Extension package.tnt.exe&bmb.exe: Standalone Win64 compiler binaries.tinytalk-v4.0.0-win64.zip&blackmamba-v4.0.0-win64.zip: Complete standalone release archives.tinytalk_lang-4.0.0-py3-none-any.whl&blackmamba_lang-4.0.0-py3-none-any.whl: Python wheels.tinytalk_lang-4.0.0.tar.gz&blackmamba_lang-4.0.0.tar.gz: Source distributions.checksums_v400.txt: Cryptographic SHA-256 verification hashes.