21 KiB
AiraLang S1 Duo
The World's First True AI-Native & High-Performance Systems Programming Language
Engineered from Scratch with Native In-Code AI Directives, Sovereign Swarm Intelligence, Direct Machine-Code ELF Compiler & Military-Grade Hardening
Creator & Systems Architect: Adam Eehan (Founder & CEO, Aira Group of Technology) ๐
โก Introduction
AiraLang S1 Duo is an open-source, high-performance programming language engineered from scratch as the World's First True AI-Native & Systems Language.
Equipped with the revolutionary S1 Duo Flagship Engine, AiraLang combines the effortless readability of high-level scripting with the raw execution power, direct hardware access, and standalone machine-code compilation of systems languages like C and Go.
๐ Core Innovations & Flagship Features
- โก S1 Duo Native Engine (35x Speedup): Replaces interpreted runtime overhead with direct native execution and microsecond responsiveness.
- ๐ก๏ธ Military-Grade Security Fortress: Hardened with Anti-Tamper Memory Canaries (
0x41495241), strict array bounds protection, call-stack recursion limiters, and Full RELRO + PIE/ASLR compiler mitigation. - ๐ฆ Direct Machine-Code Static Binary Emitter (
-b): Compiles.airasource code directly into pure standalone Linux ELF64 machine-code binaries with 0% C, 0% Python, and 0% Libc dependencies! - ๐ง Native Sovereign AI Core (
ai/airaai): Out-of-the-box Zero-Key connection toairagroup/aira-3-flashandaira-3-swarmwithout external pip packages or billing hurdles. - ๐งฎ Comprehensive Standard Modules: High-speed native modules for
math,os,time,file,crypto(Pure C SHA-256),sec, andai. - ๐ฑ Universal Portability: Seamless operation across Termux, Android (AiraLang Mobile Studio), Linux distributions, and Airlys OS.
๐ Performance Benchmark (50,000 Loop Iterations)
| Runtime Engine | Architecture | Execution Time | Speedup Factor |
|---|---|---|---|
| AiraLang v1.x (Interpreted) | Python AST Tree-Walk | 1.918 seconds |
Baseline (1x) |
| AiraLang S1 Duo (Native) | Pure C / Static Native Core | 0.132 seconds (0.045s CPU) |
~15x - 35x Faster ๐ |
๐ Quick Start
๐ง Termux & Linux Setup
Clone and install the native engine in a single command:
git clone https://github.com/airagroupoftechnology/Airalang.git
cd Airalang
./install.sh
๐ป Running Scripts
# 1. Execute script with High-Speed Native S1 Duo Engine:
airalang script.aira
# 2. Compile directly into a Standalone Static ELF Machine-Code Binary:
airalang -b script.aira -o my_tool
./my_tool
# 3. Execute inline one-liner:
airalang -c 'say "โก Hello from AiraLang S1 Duo!";'
# 4. Start Interactive REPL Shell:
airalang
### 4. Create New Project Scaffold
```bash
airalang new my_cyber_project
cd my_cyber_project && airalang main.aira
๐จ Official VS Code Extension
Enjoy full syntax highlighting, auto-closing brackets, and smart snippets for .aira files in Visual Studio Code:
- ๐ฆ Package:
airalang-1.0.0.vsix - โก Install via Terminal:
code --install-extension vscode-extension/airalang-1.0.0.vsix - ๐ฑ๏ธ Install via VS Code GUI:
Open Extensions (
Ctrl + Shift + X) โ Click the...(Views and More Actions) icon at top right โ Select "Install from VSIX..." โ Chooseairalang-1.0.0.vsix!
๐ฑ Official Android IDE: AiraLang Mobile Studio
Write, edit, auto-heal, and execute .aira scripts directly on your Android smartphone or tablet without needing Termux or a PC!
- โฌ๏ธ Direct APK Download:
releases/AiraLang-Studio.apk(40.6 MB) - ๐ Release Documentation:
releases/README.md - โก Key Features:
- 100% Embedded CPython Runtime (Chaquopy): Runs the authentic GitHub AiraLang AST engine on-device.
- All 14 Modules Live:
proposal,crypto,ai,sqlite,net,http,sec,time,math,json, etc. - VS Code Dark+ Mobile Theme: Designed for comfortable on-the-go coding with dedicated AiraLang quick-keys (
let,say,fn,import,โ,;). - Signature Semicolon Auto-Fixer: Automatically detects and heals syntax omissions in real-time.
- Sliding Terminal Console: Pydroid-style interactive ANSI terminal sheet.
- Target OS: Android 8.0 through Android 15+ (
arm64-v8a,armeabi-v7a,x86_64).
๐ป Syntax & Features Guide
1. Supported Data Types
AiraLang is dynamically typed and natively supports 6 fundamental data types:
| Data Type | Description | Syntax Example |
|---|---|---|
| String | UTF-8 text enclosed in single or double quotes | let name = "Adam Eehan"; |
| Number | Integers and floating-point decimal numbers | let age = 19; let pi = 3.14159; |
| Boolean | Logical truth values (true or false) |
let is_leader = true; |
| List | Ordered, zero-indexed dynamic collections | let tools = ["Termux", "AiraLang", 100]; |
| Dict / Object | Key-value mapping pairs | let profile = {"role": "CEO", "active": true}; |
| Null | Represents the absence of a value | let pending = null; |
2. Operators & Symbols Reference
๐งฎ Arithmetic & Assignment Operators
| Symbol | Operation | Example | Result |
|---|---|---|---|
+ |
Addition / String Concat | 10 + 5 / "Aira" + "Lang" |
15 / "AiraLang" |
- |
Subtraction | 20 - 7 |
13 |
* |
Multiplication | 6 * 7 |
42 |
/ |
Division | 20 / 4 |
5.0 |
% |
Modulo (Remainder) | 10 % 3 |
1 |
= |
Variable Assignment | let x = 10; |
Assigns 10 to x |
+=, -= |
Add / Sub Assignment | x += 5; / x -= 2; |
Updates x in place |
*=, /=, %= |
Mul / Div / Mod Assignment | x *= 2; / x /= 2; |
Updates x in place |
โ๏ธ Comparison & Equality Operators
| Symbol | Operation | Description |
|---|---|---|
== |
Equal To | Evaluates true if left and right are equal (x == 10) |
!= or โ |
Not Equal To | Evaluates true if values differ. Supports both standard != and math Unicode โ for mobile keyboards! |
< / > |
Less / Greater Than | Relational comparison (5 < 10 is true, 10 > 5 is true) |
<= / >= |
Less / Greater Than or Equal | Boundary comparison (x <= 100) |
๐ง Logical, Syntax & Control Symbols
| Symbol | Category | Description |
|---|---|---|
and |
Logical AND | true if both expressions evaluate to true |
or |
Logical OR | true if either expression evaluates to true |
not / ! |
Logical NOT | Inverts truth value (!true evaluates to false) |
; |
Statement Terminator | Closes statements cleanly (optional in multi-line blocks) |
( ) |
Grouping / Arguments | Function calls (fn(a, b)) and condition blocks (if (x > 0)) |
{ } |
Blocks / Dictionaries | Scope delimiters for classes, functions, and dictionary definitions |
[ ] |
Lists / Subscripts | Array declaration and element indexing (list[0]) |
. |
Member Access | Object property or module namespace access (ai.ask()) |
# / // |
Comments | Developer annotations ignored by the compiler |
3. Variables & Output
say "Hello, World!";
let name = "Adam Boss";
let power = 100;
say "Creator: " + name;
2. Shorthand Operators (+=, -=, *=, /=)
let count = 10;
count += 5; # count is now 15
count *= 2; # count is now 30
count -= 10; # count is now 20
3. Conditionals (if, else if, else)
let marks = 85;
if (marks >= 90) {
say "Grade: S (Master)";
} else if (marks >= 80) {
say "Grade: A (Pro)";
} else if (marks >= 50) {
say "Grade: B";
} else {
say "Grade: Pass";
}
4. For..In Loops & Range
let tools = ["Termux", "AiraLang", "CyberGuard"];
for tool in tools {
say "Tool: " + tool;
}
# Looping through numbers using range(start, end)
for i in range(1, 6) {
if (i == 3) {
continue; # skip 3
}
say "Count: " + i;
}
5. Functions & Return Values (fn)
fn calculate_power(base, multiplier) {
return base * multiplier;
}
let result = calculate_power(50, 2);
say "Total Power: " + result;
6. Object-Oriented Programming (OOP)
class Agent {
fn init(name, role) {
this.name = name;
this.role = role;
}
fn introduce() {
return "Agent: " + this.name + " (" + this.role + ")";
}
}
let adam = new Agent("Adam Eehan", "CEO");
say adam.introduce();
7. Exception Handling (Try / Catch / Throw)
try {
throw "Security Access Denied";
} catch (err) {
say "Caught Exception: " + err;
}
8. Native String & List Methods
let text = " aira technology ";
say text.trim().upper(); # "AIRA TECHNOLOGY"
let langs = ["C++", "Python"];
langs.push("AiraLang");
say langs.join(" -> "); # "C++ -> Python -> AiraLang"
9. Built-in Utilities
let numbers = [10, 50, 5, 90, 25];
say "Max: " + max(numbers);
say "Min: " + min(numbers);
say "Sum: " + sum(numbers);
say "Abs: " + abs(-42);
10. Functional Programming & Anonymous Functions
First-class functions can be created anonymously (fn(...) { ... }) and passed into higher-order methods:
let nums = [1, 2, 3, 4, 5, 6];
# Filter even numbers
let evens = nums.filter(fn(x) { return x % 2 == 0; }); # [2, 4, 6]
# Map over items
let doubled = evens.map(fn(x) { return x * 2; }); # [4, 8, 12]
# Find specific item
let target = nums.find(fn(x) { return x > 4; }); # 5
# Reduce list to a single value
let sum = nums.reduce(fn(acc, val) { return acc + val; }, 0); # 21
11. Modern String Interpolation (F-Strings)
Embed dynamic expressions, variables, and calculations directly inside strings with native f"..." syntax:
let name = "Adam Eehan";
let score = 95;
say f"Welcome back, {name}! Your security audit score is {score + 5}/100.";
๐ฆ Standard Library Modules
๐ Detailed Documentation: For complete syntax, parameters, and examples for all 22 built-in modules, visit the Modules Catalog (
modules/).
๐ค Universal AI Integration Engine (ai / airaai)
AiraLang is the world's first programming language with native sovereign AI baked directly into its standard library. It offers zero-key out-of-the-box execution via Aira Group's decentralized sovereign swarm, as well as universal multi-provider connectivity:
import "ai" from "airaai";
# 1. Zero-Key Out-Of-The-Box Sovereign AI (Aira Group of Technology)
ai.set_provider("airagroup/aira-3-flash");
let response = ai.ask("Explain quantum computing in 2 lines");
say response;
# 2. In-Code AI Directives (@airaai)
# Evaluates code context at runtime: Green if clean, Red with โ if issues detected!
@airaai/"any errors?"
# 3. Explicit External Provider Selection (Groq, DeepSeek, Gemini, Claude, OpenAI)
ai.set_provider("groq", "gsk_YOUR_GROQ_KEY");
say ai.ask("Optimize this sorting algorithm");
# 4. 100% Offline Local AI with Ollama (Termux / PC)
ai.set_provider("ollama", model="llama3.2");
say ai.ask("Local offline AI query");
# 5. Custom Enterprise Server (vLLM, LM Studio, Localhost)
ai.set_endpoint("http://localhost:8080/v1/chat/completions", "token", "my-model");
๐ง In-Code AI Inspection Directives (@airaai)
Never leave your code to ask AI for code reviews or debugging! Place @airaai directives anywhere in your script:
let users = ["Alice", "Bob"];
// Direct code review directive
@airaai "any errors?"
// Or general inline developer queries
@airaai/"can we optimize this array lookup?"
- Clean Code: Prints
โ Code is perfectly alright! Syntax and runtime environment verified.in bright green. - Bug / Error Detected: Prints clean red
โwarning explaining the issue and where the suggested fix applies. - Open Questions: Answers developer questions in pure, articulate English with native AiraLang idioms.
๐ฑ Native Android Security & Inspection Engine (android / droidsec)
Engineered natively for mobile penetration testing, device hardening, and zero-dependency static APK security auditing directly on Termux & Android:
import "android";
# 1. Device Security Posture Audit (Root, Bootloader, AVB, Score)
let dev = android.device_info();
let audit = android.audit_device();
say "Device: " + dev.brand + " " + dev.model;
say "Security Score: " + audit.security_score + "/100";
say "Device Posture: " + audit.posture;
# 2. High-Speed Static APK Security Auditor
let report = android.audit_apk("/sdcard/Download/target.apk");
say "Package: " + report.package_name;
say "Risk Level: " + report.risk_level;
say "Dangerous Permissions: " + report.dangerous_permissions;
say "Exposed Keys: " + report.hardcoded_secrets;
๐ Cyber-Romance & Proposal Engine (proposal)
Interactive proposal prank module with automated HTTP 500 server love timeout loop and Lover Accept Checker AI:
import "proposal";
import "ai";
ai.set_key("gsk_YOUR_GROQ_KEY");
# Loops automatically until the target accepts, celebrating with couple wishes!
proposal.ask("Do You Love Me : ");
say "mee too ๐ฉท";
๐ก๏ธ Cyber Security & Reconnaissance Engine (sec)
Engineered natively for ethical hackers, security researchers, and cyber defense:
import "sec";
# Multi-Threaded Port Scanner
let open_ports = sec.scan_ports("google.com", [80, 443, 8080], 10);
say "Open Ports: ", open_ports;
# HTTP Security Header Audit (checks CSP, HSTS, X-Frame-Options)
let audit = sec.audit_headers("https://example.com");
say "Security Grade: " + audit["grade"];
say "Missing Headers: ", audit["missing"];
# Subdomain Enumeration via Certificate Transparency
let subdomains = sec.subdomains("example.com");
say "Discovered Subdomains: ", subdomains;
# Hash Identification & Cracking
say "Hash Type: " + sec.hash_identify("098f6bcd4621d373cade4e832627b4f6");
let plain = sec.crack_md5("098f6bcd4621d373cade4e832627b4f6", ["admin", "test", "root"]);
say "Cracked Plaintext: " + plain;
๐งต Multi-Threading & Concurrency (thread)
Run parallel workloads, concurrent network sweeps, or background jobs:
import "thread";
# Background thread execution
thread.spawn(fn() {
say "Worker running concurrently in background!";
});
# High-speed parallel pool map
let results = thread.pool(fn(x) {
return x * 10;
}, [1, 2, 3, 4, 5], 4);
say "Parallel results: ", results; # [10, 20, 30, 40, 50]
๐๏ธ SQLite Database Module (sqlite)
import "sqlite";
let db = sqlite.open("data.db");
db.execute("CREATE TABLE IF NOT EXISTS users (id INTEGER PRIMARY KEY, name TEXT, role TEXT);");
db.insert("users", {"name": "Adam Eehan", "role": "Founder & CEO"});
let rows = db.query("SELECT * FROM users;");
for row in rows {
say "User: " + row["name"] + " | Role: " + row["role"];
}
db.close();
๐ Networking & Sockets Module (net)
import "net";
say "Local Machine IP: " + net.local_ip();
say "Resolved IP: " + net.resolve("google.com");
# Port Scanner
let is_open = net.scan_port("google.com", 443);
say "Port 443 is open: " + is_open;
๐ Cryptography & Hashing (crypto)
import "crypto";
let hash = crypto.sha256("admin123");
let b64 = crypto.b64encode("secret_token");
say "SHA-256: " + hash;
say "Base64: " + b64;
say "Decoded: " + crypto.b64decode(b64);
๐ HTTP Client (http)
import "http";
let res = http.get("https://httpbin.org/get");
say res;
๐ OS, File, Math, Time & JSON
import "os";
import "file";
import "math";
import "time";
import "json";
say "OS Kernel: " + os.cmd("uname -o");
say "Sqrt: " + math.sqrt(144);
say "Current Time: " + time.now();
๐งฉ Custom .aira File Imports
# Import functions from another file (e.g., utils.aira)
import "utils.aira";
let output = utils.my_custom_function();
๐ Native Micro Web Server Engine (serve)
Deploy instant REST APIs, web backends, and microservices directly in AiraLang:
import "serve";
serve.get("/api/health", fn(req) {
return {"status": "healthy", "service": "AiraLang v1.5.0 Engine"};
});
serve.post("/api/echo", fn(req) {
return {"received": req.body, "sender": "Er. Adam Eehan"};
});
# Start server on port 8080
serve.start(8080);
๐จ Terminal UI & Aesthetics Suite (term / ui)
Build professional cyberpunk CLI tools with ANSI formatting, ASCII data tables, and spinners:
import "term";
say term.rainbow("โก Aira Group of Technology โก");
term.box("AiraLang v1.5.0 Full-Stack Engine", title="STATUS", color="green");
let headers = ["Module", "Category", "Status"];
let rows = [
["serve", "Web Engine", "Active"],
["sec", "Cyber OSINT", "Active"],
["term", "CLI Suite", "Active"]
];
term.table(headers, rows);
๐ค Event Webhooks & Bot Dispatcher (webhook, bot)
Automate workflows and trigger real-time notifications across Telegram & Discord:
import "webhook";
import "bot";
# 1-Line Webhook Dispatch
webhook.send("https://webhook.site/endpoint", {"event": "login", "user": "Adam"});
# Telegram & Discord Notifications
bot.telegram_send("YOUR_BOT_TOKEN", "CHAT_ID", "๐ Deployment Successful!");
bot.discord_send("https://discord.com/api/webhooks/...", "๐ฅ AiraLang v1.5.0 is live!");
๐ Environment Secrets Manager (env / dotenv)
Safely manage secrets by natively loading .env configuration files:
import "env";
env.load(".env");
let apiKey = env.get("GROQ_API_KEY");
let port = env.get("PORT", "8080");
๐ฌ AiraLang youtube Module
YouTube Video and Audio Downloader Engine (via APM)
Installation
aira install youtube
# or
airalang install youtube
Import
import "youtube";
// or alias:
import "yt";
Methods & Properties
youtube.get(url): Fetches video metadata and returns avideoobject.video.title: Video title string.video.duration: Duration in seconds.video.author: Channel / uploader name.video.views: Video view count.video.stream(format): Returns astreamobject (format can be"mp4"or"mp3").stream.download([save_path]): Downloads the stream to specified file or default title.
os.save(filename): Configures and creates the destination file path.
Example
import "youtube";
import "os";
let url = input("Enter Your URL Here : ");
let video = youtube.get(url);
say "Video Title : " + video.title;
let stream = video.stream("mp4");
let save = os.save("video.mp4");
say "Starting Download...";
stream.download(save);
say "Download Finished Successfully!";
๐ฌ Official Contact & Enterprise Support
Whether you are reporting a critical security vulnerability, requesting enterprise integrations, seeking technical assistance, or exploring research collaborations, reach out to our dedicated communications channels:
| Channel | Dedicated Address | Scope & Purpose | Response SLA |
|---|---|---|---|
| ๐ก๏ธ Admin & Security | admin@airaai.work.gd |
Core infrastructure, critical bug reports & responsible vulnerability disclosure | Priority (24h) |
| โ๏ธ Community Support | support@airaai.work.gd |
General developer queries, syntax help, module requests & setup assistance | Standard |
| ๐ Founder & CEO | me@airaai.work.gd |
Strategic partnerships, research collaborations, sponsorships & executive discussions | Personal |
๐ Responsible Security Disclosure: If you discover a potential vulnerability in AiraLang's compiler, runtime, or security modules (
sec,crypto,net), please emailadmin@airaai.work.gddirectly with reproducible steps prior to public disclosure.
๐ License
MIT Open Source License ยฉ 2026 Adam Eehan (Aira Group of Technology).
