Ifá-Lang

A Bilingual, Secure Programming Language — Based on Yoruba System Theory

Get Started Try in Browser

Hello World

hello.ifa
// Ifá-Lang Hello World
ayanmo oruko = "Ifá";
Irosu.fo("Kaabo, " + oruko + "!");
// Ifá-Lang Hello World
let name = "Ifá";
Irosu.println("Hello, " + name + "!");

16 Odù Domains

Every aspect of programming maps to an Odù — the sacred patterns of Ifá divination.

1111 Ogbe

System & Lifecycle — CLI args, environment, OS info

1100 Ìrosù

Console I/O — Print, input, logging

1101 Ìrẹtẹ̀

Cryptography — SHA256, Base64, UUID, random bytes

0111 Ọ̀sá

Concurrency — Parallel sum, sort, min/max with rayon

1011 Òtúrá

Networking — HTTP GET/POST, JSON fetch

0100 Ìká

Strings — Split, join, regex, JSON/CSV serialization

View all 16 Odù domains →

Crypto Example

crypto.ifa
// Hash a message with Irete (Crypto)
ayanmo ifiranṣẹ = "Ifá is wisdom";
ayanmo hash = Irete.sha256(ifiranṣẹ);
Irosu.fo("SHA256: " + hash);

// Generate a UUID
ayanmo id = Irete.uuid();
Irosu.fo("UUID: " + id);
// Hash a message with Irete (Crypto)
let message = "Ifá is wisdom";
let hash = Irete.sha256(message);
Irosu.println("SHA256: " + hash);

// Generate a UUID
let id = Irete.uuid();
Irosu.println("UUID: " + id);

Documentation