Getting Started
👋 Your first HudHudScript program
Create a file called hello.hudhud and run it interactively:
// English - Basic Example
// Basic example with native keywords
let x = 10;
let y = 20;
let sum = x + y;
print(sum);
Run it from command line:
hudhud hello.hudhud
🤖 Create intelligent agents
Create an AI agent in just a few lines:
agent assistant {
provider: "openai",
model: "gpt-4",
temperature: 0.7
}
let response = assistant.ask("What is HudHudScript?");
print(response);
🌍 Code in your native language
Same program in 4 languages:
English
let x = 10;
if (x > 5) {
print("Big");
}
Turkish
değişken x = 10;
eğer (x > 5) {
yazdır("Büyük");
}
Japanese
変数 x = 10;
もし (x > 5) {
表示("大きい");
}
Arabic
متغير x = 10;
إذا (x > 5) {
اطبع("كبير");
}
🚀 Next Steps