๐ŸŒŸ AiraLang (v1.4.2 Aira Cyber & AI Edition)

The High-Performance, Expressive & Modular Scripting Language for Creators, AI & Cybersecurity Engineers
Author & Creator: Adam Eehan (Founder & CEO, Aira Group of Technology) ๐Ÿ‘‘


โšก Introduction

AiraLang is an open-source, dynamic, and expressive scripting language engineered from scratch with a focus on simplicity, developer freedom, high speed, native AI integrations, and advanced systems/cybersecurity capabilities.


๐Ÿš€ Quick Start in Termux / Linux

1. Interactive REPL Shell

airalang

2. Run an AiraLang Script

airalang script.aira
# or: airalang run script.aira

3. Compile Script to Standalone Executable Binary

airalang build script.aira -o my_tool
./my_tool

4. Create New Project Scaffold

airalang new my_cyber_project
cd my_cyber_project && airalang main.aira

๐Ÿ’ป 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

๐Ÿ“ฆ Standard Library Modules

๐Ÿ“š Detailed Documentation: For complete syntax, parameters, and examples for all 14 built-in modules, visit the Modules Catalog (modules/).

๐Ÿค– Universal AI Integration Engine (ai)

Directly integrate Generative AI from ANY provider in the world natively in AiraLang (OpenAI, DeepSeek, Anthropic Claude, Google Gemini, Groq, OpenRouter, Mistral, Ollama, Perplexity, Cerebras, or custom servers):

import "ai";

# 1. Automatic Key Prefix Detection (Groq, OpenRouter, Claude, Cerebras, Gemini, etc.)
ai.set_key("gsk_YOUR_GROQ_KEY");
say ai.ask("Explain cyber security defensive postures");

# 2. Explicit Provider Selection (DeepSeek, OpenAI, Mistral, etc.)
ai.set_provider("deepseek", "sk-YOUR_DEEPSEEK_KEY");
say ai.ask("Optimize this sorting algorithm");

# 3. 100% Offline Local AI with Ollama (Termux / PC)
ai.set_provider("ollama", model="llama3.2");
say ai.ask("Local offline AI query");

# 4. Custom Enterprise Server (vLLM, LM Studio, Localhost)
ai.set_endpoint("http://localhost:8000/v1/chat/completions", "token", "my-model");

๐Ÿ’– 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();

๐Ÿ“ฌ Official Contact & Enterprise Support

Domain Security Organization

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 email admin@airaai.work.gd directly with reproducible steps prior to public disclosure.


๐Ÿ“œ License

MIT Open Source License ยฉ 2026 Adam Eehan (Aira Group of Technology).

S
Description
No description provided
Readme MIT
27 MiB
0 Stars 1 Watchers 0 Forks
Languages
Aira 100%