t3x.org / t3x /

T3X: A Minimum Procedural Language

T3X is a small, portable, procedural, block-structured, recursive, almost typeless, and to some degree object-oriented language.

Here are some of the more interesting parts of the T3X manual:

Of course, you can also read the full text of the T3X Reference Manual online. Before you download the manual: it is also contained in th archive to the right.

The architecture of the T3X compiler is described in detail in the book Lightweight Compiler Techniques.

The T3X compiler targets a virtual machine called the Tcode machine as well as the following native CPUs: 8086, 386, 21064 (Alpha). It and runs on a variety of platforms, including: FreeBSD, NetBSD, Plan 9, Linux, DOS. The compiler also includes a C back end.

On Unix systems, T3X needs an ANSI C (C89) compiler for bootstrapping. Once bootstrapped, it can compile itself.

T3X is no longer actively developed, but you can download a copy of the final version here:

t3x-815.tar.gz (2004-05-28, 443KB)
tide-320.tar.gz (tool classes, 57KB)

The T3X compiler is distributed under a BSD License).


Copyright (C) 2006 Nils M Holm < nmh @ t3x . org >