#T3X

Nils M HolmAverageDog
2025-11-03

I am writing most of my programs in /0 these days. It is small and simple and most of its programs run on DOS, Unix and CP/M without changes. It even has two editors with compiler integration. And, of course, I have invented it. :)
Homepage: t3x.org/t3x/0/
Programs: t3x.org/t3x/0/programs.html
Try it online: t3x.org/t3x/demo/index.html

Nils M HolmAverageDog
2025-10-05

Added high scores and a training mode to the clone I wrote about yesterday.
t3x.org/t3x/0/programs.html#re

Nils M HolmAverageDog
2025-10-04

Wrote a text-mode clone that uses a fair shape picker by default (every kind of piece has the same chance of appearing). The program has quite a few options, but is in a rather unpolished state (no high-score list, etc). Runs on Unix (if you have installed) and .
t3x.org/t3x/0/programs.html#re

Screenshot of a text-mode tetris clone.
Nils M HolmAverageDog
2025-03-23

Seven copies of "The T3X Programming Language - Formal Definition" sold in about one year. That's about seven times my expectation. :)

Nils M HolmAverageDog
2024-11-24

@lukianos @akkartik Interesting! While you could probably argue that all curses programs are interactive, I would say that ignoring refresh() right before endwin() is a bug. At least the ncurses refresh(3) man page states no such exception.
Anyway, I guess I will put this in the errata and include a footnote in the second edition, if there should be one.
Thanks for bringing this to my attention!

Nils M HolmAverageDog
2024-11-03

@winden You can easily fit Turbo Pascal or BDS C or a subset of Hitech C on a 256KB disk. For C you would need an editor on another disk. Or you could use , which, like Turbo Pascal, has its own editor (two in fact).
There are some 8MB hard disk images with compilers at github.com/nihirash/Agon-CPM2.2
I am currently writing an introduction to programming that also covers CP/M, but it will be only about T3X.
, ,

Nils M HolmAverageDog
2024-11-03

1/2
can, with some limitations, run child processes on . The CHNLOAD.EXEC(P1,ARGS,P2) procedure loads the program P1, copies ARGS to the COMTAIL (command line arguments) and then runs the program. When P1 exits, CHNLOAD.EXEC runs P2 (with no arguments). So when P2 is the program that started the whole process, and you somehow manage to save enough state to start over where you left, you have a child process.

Nils M HolmAverageDog
2024-10-26

You can now install on your Agon Light 2 computer by just copying a disk image:
t3x.org/t3x/0/t3x0agon.zip

T3X is a simple and easy procedural programming language for , , and .
t3x.org/t3x/0/
You can try it online here:
t3x.org/t3x/demo/

, , , ,

An Agon Light 2 single board computer with a USB2, VGA, and USB3 connector attached
Nils M HolmAverageDog
2024-09-11

T3X/0 now has a WordStar-compatible editor for CP/M that can compile T3X programs and locate errors.

It runs fine on my Agon Light 2 and makes T3X programming on CP/M much more fun, because you do not have to leave the editor for compiling. The Agon is fast so that you barely notice how the compiler overlay is loaded.

Homepage: t3x.org/t3x/0/
Download: t3x.org/t3x/0/t3x0cpm.zip

, , , ,

Agon Light 2 computer with a modern 19-inch flat screen monitor and a PC keyboard attached. The screen shows the NOE text editor with a T3X program loaded.A monitor screen displaying the Wordstar-compatible NOE editor with a T3X program loaded, some help information at the top of the screen and information about compiled program size in the bottom line.
Nils M HolmAverageDog
2024-09-09

There is now an experimental CP/M port of the VEE editor for T3X/0. The editor can compile T3X programs and locate errors. VI-compatible, not WordStar. Sorry!

Not sure how useful this is, because loading the compiler as an overlay is not too fast. There is also a strange bug when running VEE on my Agon Light. It does work on my NC100 and on my RC2014 machines, though.

Homepage: t3x.org/t3x/0
CP/M binaries: t3x.org/t3x/0/t3x0cpm.zip

, , ,

The VEE editor with a "Hello World" program loaded and information about the compiled program size at the bottom.
Nils M HolmAverageDog
2024-08-24

Got my Agon Light 2 computer recently and installed CP/M on it (github.com/julian-rose/Agon-CP). Great little machine, I am surprised how fast it is.
It self-compiles 16 times faster than a 4MHz Z80 (and clock speed is "only" 5 times faster). It even runs Evazor smoothly! I have added a CP/M binary to the Evazor archive in case you want to try it.
t3x.org/t3x/0/programs.html#ev
, , ,

An Agon Light 2 computer with USB power, VGA, and USB keyboard cables attached
Nils M HolmAverageDog
2024-08-22

Try online! t3x.org/t3x/demo/
T3X is a small procedural language that runs on CP/M (Z80), DOS (8086), various Unixes (386, x86-64, 32-bit ARM), and a virtual machine. Its compiler is small and simple. The code is in the public domain.
, , , ,

Screenshot of the T3X online compiler with an input window containing a "Hello World" program and "compile" and "load" buttons under the window.
Nils M HolmAverageDog
2024-08-21

T3X now has two editors with compiler support, one vi-like, one WordStar-like. Programs can be compiled/run from within the editor. When an error occurs, the editor jumps to the offending line.
Source code: t3x.org/t3x/0/
DOS binaries: t3x.org/t3x/0/t3x0dos.zip
, , , , ,

Nils M HolmAverageDog
2024-08-12

Wrote a . Steer your space ship through a tunnel filled with debris, collect credits, shields, and missiles. Use your ammo wisely, you may need it later!
Runs on (binary included) and (will have to compile it yourself).
Download: t3x.org/t3x/0/programs.html#ev

Title screen of the EVAZOR game with a fancy heading, credits, instructions, and high scores, all text.EVAZOR screenshot: a spaceship in a debris-filled tunnel, all ASCII art
Nils M HolmAverageDog
2024-05-30

/0 now runs on the x86_64, at least on , but probably also on other -like systems.
I still think that 64-bit CPUs are useless, but FreeBSD will probably not support 32-bit CPUs forever, so I thought I'd better be prepared.
t3x.org/t3x/0/

2024-05-18
Я переехал на новый инстанс.

Тех на кого был подписан, импортировал.
Подписчиков тоже импортировал.

Пожалуйста, обратите внимание на это.

Мой новый аккаунт: https://clubcyberia.co/users/t3x

Старый аккаунт: https://devs.live/users/t3x

Люблю вас ребята. ❤️

@rf @ru
#rf #ua #t3x
Картинка для привлечения внимания
Nils M HolmAverageDog
2024-04-22

This may very well be the most useless book I have ever written, and I don't even know why I did. I guess it is still better than getting drunk in a bar.
Anyway, it defines the programming language formally in terms of basic functions (zero, successor, identity, mu) and naive set theory. I have no idea why anybody would read such a book. Maybe you can give me some hints? :)
Or, in case you want to prove me wrong: t3x.org/t3x/0/formal.html
, , ,

Front cover of the book "The T3X Programming Language" with a Mandelbrot set at its center
2024-04-17

هاتف vivo T3x ينطلق بقدرة بطارية 6000 mAh وسعر يبدأ من 161 دولار

https://todaypic.net/technology/165863/

Nils M HolmAverageDog
2024-04-01

The ARMv7 back end of /0 is now finished, with proper stack alignment and all.
Code: t3x.org/t3x/0/
Next stop: ARMv8. Just kidding! Who needs a 64-bit CPU?
, ,

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst