Huge · Light as a Leaf, Solid as a Rock

Lightweight embedded scripting language designed for mobile · Dynamic typing · Zero external dependencies · Native arrays/dicts/closures/threading

✨ Latest version v4.0 Beta | Focus on ARM64 phone/tablet experience

Core Features

📦 Minimal Core

Single-file implementation, zero external dependencies. Tiny footprint, compiles in seconds on mobile — perfect for embedding, config files, game scripting.

⚡ Modern Syntax

Lua/JavaScript-like style, supports arrow functions, string interpolation, optional chaining, error catching, and other modern language features.

🧵 Concurrency & Modules

Built-in multithreading support, modular loading (use statement), closures and higher-order functions included.

📚 Native Data Structures

Native support for arrays and dictionaries (Map), intuitive index access syntax — no extra emulation needed.

🛠️ Full C API

Seamlessly embeddable in C/C++ projects, with VM lifecycle, global variable read/write, function registration, and more.

📦 Package Ecosystem

Package download via Hugt toolchain; community can contribute extension packages like game3d, gui, etc.

Code Sample

// Huge 4.0 syntax example
const VERSION = "4.0"
var config = load("config.json")
var score = 100
score += 50

// Function definition
func add(a, b) {
    return a + b
}

// Protected call
var result = pback(func() {
    return 10 / 2
})
print(result.value) // Outputs 5

// Array operations
var arr = [1, 2, 3, 4, 5]
var newArr = arr.filter(x => x > 2).map(x => x * 10)
print(newArr) // Outputs [30, 40, 50]

Quick Start

Install and run in Termux or any Linux terminal:

wget https://gitee.com/wssrwjjd/huge-lau/releases/download/v1.2_C/hfa
chmod +x hfa
./hfa

Or build from source:

git clone https://gitee.com/wssrwjjd/huge-lau.git
cd huge-lau && gcc huge.c -o hfa -lm -lpthread -ldl
./hfa

Get Huge

📦 Download Huge

All releases (v4.0 Beta, v1.2_C, and historical versions) are hosted on Gitee Releases.

⬇️ Go to Downloads

→ Choose the version for your device

🐙 Source Repository

MIT licensed, full source code hosted on Gitee — Fork, Star, Contribute welcome.

Visit Gitee

📦 Hugt Package Manager

Download extension packages, syntax packages, game engine bindings.

hugt download game3d

Platform & Architecture Support

Platform Architecture Status
Android / Termux ARM64 ✅ Full support (recommended)
32-bit systems i386/armv7 ❌ No longer supported
Linux x86_64 x86_64 ❌ No longer supported

The project focuses on mobile experience; x86 and 32-bit versions are no longer maintained.