logo
Kurashizu Blogwhere ideas flow
  • Home
  • News
  • Blog
  • About
  • Home
  • News
  • Blog
  • About

© 2026 Kurashizu. All rights reserved.

Admin·New Post·Service Status
Powered by Cloudflare·31.10.26
← Back to news

T3X/0 a Minimal Procedural Language

Original article
t3x.org|23 points|0 comments|by AlexeyBrin|Aug 15, 2026

T3X/0: A Minimalist Procedural Language

T3X/0 Concept

T3X/0 represents the most recent addition to the T3X language family. It is designed as a portable, recursive, and block-structured procedural language. Notably, it is ≈0\approx 0≈0 (almost) typeless.

The compiler is provided under the 0BSD license or is simply in the public domain.

🧬 Language DNA

The design of T3X/0 is a hybrid of two classic influences:

📚 Educational & Formal Foundations

T3X/0 serves as the primary instructional tool for several publications:

  • Write Your Own Retro Compiler
  • Write Your Own Programs

For those seeking a rigorous mathematical or logical basis, the language is formally detailed in The T3X Programming Language - Formal Definition\textit{The T3X Programming Language - Formal Definition}The T3X Programming Language - Formal Definition.


💻 Coding in T3X/0

To get started, you can use the Online Compiler. Below is the most basic implementation of a "Hello World" program.

Note: This specific example follows strict standards cuts a few corners for the sake of brevity. More robust versions are available in the documentation.

USE t3x: t; 
DO t.write(T3X.SYSOUT, "Hello, World!\r\n", 15); 
END

Learning Path

  • Read the Very Short T3X/0 Summary
  • Study the T3X/0 Language Reference
  • Explore Simple Examples
  • Analyze More (or Less) Serious Programs

🛠️ System Compatibility & Architecture

T3X/0 is highly versatile, boasting self-hosting capabilities on all supported platforms and the ability to cross-compile for various 16-bit systems.

PlatformArchitecture / VersionNotes
Unix386, x86_64, ARMv6, ARMv7Full support
FreeBSD-386Static backendLIBC is not required
macOS-686x86Supported
DOS2.0 and newerSupported
CP/M 2.2Z80 onlySupported
TCVMTcode Virtual MachineVirtualized environment

📦 Download Options

The T3X/0 ecosystem provides several distribution packages depending on your needs:

FileSizeContentsTarget Audience
t3x0-47.zip∼350KB\sim 350\text{KB}∼350KBFull source (T3X/0, C, Z80/8086/386 ASM), TCVM in C, IDEs, and binaries.Developers / Power Users
t3x0-12.zip∼200KB\sim 200\text{KB}∼200KBThe version of the compiler frozen for the book's release.Students of the book
t3x0dos.zip∼100KB\sim 100\text{KB}∼100KBDOS binaries, NOE/VEE editors, manual, and a path-patching utility.DOS Users
t3x0cpm.zip∼310KB\sim 310\text{KB}∼310KBCP/M binaries, NOE/VEE editors, manual, and a drive-patching utility.CP/M Users
t3x0agon.zip∼110KB\sim 110\text{KB}∼110KB8MB CP/M hard disk image.Agon Light 2 Owners

⚠️ Critical Installation Notes for CP/M

Warning: Because CP/M lacks a directory structure, the ZIP file will extract all contents directly into your current working directory. To ensure compatibility with CP/M, the ZIP file is uncompressed.

🔧 Integrated Tooling

The package includes two specialized editors that function as lightweight IDEs by providing built-in compiler integration:

  1. VEE: A WordStar-compatible editor.
  2. NOE: A VI-compatible editor.