t1lang.github.io

T1 Main Web Site

View My GitHub Profile

T1

T1 is a programming language which aims at providing better support for constrained environments, especially embedded systems with very little RAM. It should provide the following features:

T1 can be viewed as an evolution of the T0 programming language, a custom Forth-like language integrated in BearSSL, an SSL/TLS library specialized for embedded systems. T0 offers lightweight coroutines, a token-threaded code output, and strong guarantees on maximum stack growth. T1 adds a rich type system, a compile-time static analysis phase, memory safety, optional dynamic memory allocation (with a garbage collector), and other features that make it more a general-purpose language (e.g. namespaces).

The T1 specification describes the language and contains explanations about its design choices, some of which being uncommon or even seemingly outrageous (e.g. lack of support for recursion, whole program deductive type analysis, postfix syntax…).

T1 has been presented at NorthSec 2019. Here are the slides.

License

Everything here is provided under the MIT license. This means that you can use as you wish; you don’t have to credit me; if it breaks anything, it’s your fault, not mine.

Status

T1 is a work-in-progress. Current status is the following: