Skip to content

Compatibility Matrix

Compatibility Matrix

Platform Support

PlatformArchitectureStatusRuntime
Windowsx86-64✅ Full supportthag_runtime.lib
Linuxx86-64✅ Full supportlibthag_runtime.a
LinuxARM64 (AArch64)✅ Full supportlibthag_runtime.a
macOSARM64 (Apple Silicon)✅ Full supportlibthag_runtime.a
macOSx86-64⚠️ Untested

LLVM Compatibility

LLVM VersionStatus
21.x✅ Supported (required)
20.x⚠️ May work (not officially tested)
19.x and below❌ Not supported

Language Feature Status

Core Features (Stable)

FeatureStatusSince
func declarations✅ Stablev0.1
let variables✅ Stablev0.1
if/else✅ Stablev0.1
while loops✅ Stablev0.1
struct definitions✅ Stablev0.1
impl blocks + methods✅ Stablev0.2
Operator overloading✅ Stablev0.2
extern func (C FFI)✅ Stablev0.1
import module system✅ Stablev0.2
String operations✅ Stablev0.1
print() built-in✅ Stablev0.1
Arrays [T; N]✅ Stablev0.2
for..in range loops✅ Stablev0.3
Comments (#, //)✅ Stablev0.1

Advanced Features (Parsed)

FeatureStatusNotes
enum declarations🔨 ParsedAST-level support
match expressions🔨 Parsed + validatedRequires enum
Type aliases (type)🔨 ParsedHeader extraction
trait / impl for🔨 ParsedSemantic preflight
pub visibility🔨 ParsedFeature counter tracked
unsafe blocks🔨 ParsedFeature counter tracked
defer🔨 ParsedFunction-scope only
comptime🔨 ParsedCompile-time evaluation
Closures🔨 ParsedFeature counter tracked
Tuple destructuring🔨 ParsedFeature counter tracked
Array literals🔨 ParsedFeature counter tracked
Slice expressions🔨 ParsedFeature counter tracked
Loop labels🔨 ParsedFeature counter tracked
Raw strings🔨 ParsedFeature counter tracked
Interpolated strings🔨 ParsedFeature counter tracked
Result sugar (?)🔨 ParsedFeature counter tracked

Intent System

FeatureStatusNotes
intent func🔨 ActiveGoal validation active
intent loop🔨 ActiveDeclarative loop pattern
Goal: auto_plan✅ ValidatedCompiler-selected strategy
Goal: reduce_sum✅ ValidatedSum reduction pattern
Goal: off✅ ValidatedDisable optimization

Standard Library Maturity

ModuleMaturityNotes
lib/fs.tg✅ ProductionFull file I/O
lib/string.tg✅ ProductionAll string ops
lib/env.tg✅ ProductionArgs, env vars, cwd
lib/process.tg✅ ProductionShell exec, download, unzip
lib/io.tg✅ Productionstdin/stdout
lib/path.tg✅ ProductionPath manipulation
lib/http.tg⚠️ BasicGET/POST only
lib/time.tg⚠️ Basicnow_ms, sleep_ms only
lib/map.tg🔨 StubPlaceholder implementation
std/core.tg✅ ProductionCore primitives
std/string.tg✅ ProductionStringBuilder, char ops
std/list.tg✅ ProductionDynamic list

CI/CD Requirements

RequirementValue
Consecutive green runs for merge3
Required pipelinesCI, Selfhost Matrix, Release (dry-run)
Bootstrap policyStage1-only (no C++ fallback)
Self-host verificationStage2 must compile itself to Stage2b