Iloko is an esoteric programming language (esolang) based on Ilocano keywords, featuring unique Ilocano-inspired syntax.
Test your code instantly in your browser. No installation required.
↓ Scroll Down to Start ↓Run `.iloko` files on your computer.
Click to see instructions →ILOKO is a simple interpreter. It reads code line-by-line. Here are the main features:
Use IPAKITA (Ilocano for "Show") to output any value to the console.
IPAKITA "Hello World!" IPAKITA 100
Use IKABIL (Ilocano for "Put") to create a variable. You can then use it in E>IPAKITA or other operations.
IKABIL a = 10 IKABIL b = "some text" IPAKITA a IPAKITA b
You can perform math with numbers and combine (concatenate) strings.
IPAKITA 10 + 5 * 2 IPAKITA "hello" + " " + "world"
Click the button below to load a complete example into the editor.
For command-line use. Choose either pipx (recommended) or traditional pip install.
pipx installs Iloko globally and safely, without needing a virtual environment.
1. Install pipx:
Linux / Debian:
sudo apt install pipx
pipx ensurepath
Windows (PowerShell / CMD):
python -m pip install --user pipx
python -m pipx ensurepath
2. Install Iloko globally:
pipx install iloko-cli
3. Run any Iloko program:
iloko test.iloko
Use this if you prefer traditional Python environments.
1. Create a virtual environment:
python3 -m venv venv
2. Activate the venv:
macOS/Linux:
source venv/bin/activate
Windows:
venv\Scripts\activate
3. Install Iloko from PyPI:
pip install iloko-cli
4. Run a file:
iloko test.iloko
* Upgrade to the latest version:
pip install --upgrade iloko-cli
Adds syntax highlighting and a "Run Iloko" button & command (right-click a .iloko file).
The extension is now available on the official VS Code Marketplace. Click the button below to install it.
Or, install from within VS Code:
Ctrl+Shift+X).Here is a complete guide to all syntax currently available in Iloko.
Use # for single-line comments. The interpreter will ignore these.
# Daytoy ket komentaryo IPAKITA "Hello!" # Daytoy ket maysa met a komentaryo
Use IPAKITA to output values.
IPAKITA "Hello World!" IPAKITA 100 IPAKITA 10.5
Use IKABIL to assign values to variables.
IKABIL my_variable = "Naimbag nga aldaw" IKABIL numero = 123 IPAKITA my_variable IPAKITA numero
Perform math (+, -, *, /, %) and string concatenation (+).
IPAKITA 10 + 5 IPAKITA 10 * (2 + 3) IPAKITA "Hello" + " " + "Ana Nagan mo"
Use NO, NO KET DI (Else If), and NO KUMA (Else) for logic. End with NALPAS.
IKABIL edad = 18
NO edad > 17
IPAKITA "Agasawa kan"
NO KET DI edad == 17
IPAKITA "Baro/Balasang kan"
NO KUMA
IPAKITA "Ubing ka pay"
NALPAS
Use BAYAT to loop while a condition is true. End with NALPAS.
IKABIL i = 0
BAYAT i < 5
IPAKITA i
IKABIL i = i + 1
NALPAS