Programming Paradigms

HudHudScript uniquely combines multiple paradigms in one language

Multi-Lingual Programming

Write the same program in 23 human languages. Keywords, builtins, and syntax adapt to each language.

// English       // Türkçe        // 日本語
let x = 10;     tanım x = 10;   変数 x = 10;
print(x);       yazdır(x);      表示(x);

Agent-Oriented Programming

First-class agent, task, tool, and resource primitives for building AI systems.

agent Analyzer {
    task analyze(data) {
        return "Result: " + data;
    }
    tool calculator { }
}

Governance-First Design

Built-in constitution, law, council, and swarm primitives for governing agent behavior.

constitution Rules {
    law Security {
        role admin {
            strategy "enforce" { }
        }
    }
}

Async-First Concurrency

Native async/await, parallel swarm execution, and event-driven architecture.

async function fetch(url) {
    return "Data from " + url;
}
let data = await fetch("/api");

Object-Oriented Programming

Objects, functions, and composition. Classes with full OOP support.

View OOP docs →

Subject-Oriented Programming

Subjects, domains, and hierarchical agent organization with SOP primitives.

View SOP docs →

Swarm Intelligence

Coordinate multiple agents in parallel or sequential swarms for distributed processing.

swarm Processors {
    strategy parallel { }
    agent p1 { task run(d) { } }
    agent p2 { task run(d) { } }
}