Skip to main content

Data types

TypeLiteral syntaxNotes
Integer42Whole numbers only — TLang has no floating-point type, by design.
String"text"Double-quoted. Concatenates with + against any other type.
Booleantrue / falseThe only truthy/falsy values — conditions must evaluate to a boolean, or the interpreter raises a runtime error rather than coercing.
Functiondefine … taking …First-class value; can be stored, passed, and called like any other.