Ilo
A self-hosted programming language.
Install / Use
/learn @nootr/IloREADME
Ilo
A programming language.
- Stack-oriented like Forth
- Whitespace-specific like Python
- Type checking like Tsoding's Porth
This project has one clear goal: to write a self-hosted compiler!
Building the Ilo compiler
Building the Ilo compiler is simple:
./configure
ninja
Ilo currently only compiles to x86_64 assembly, but will have different target architectures in the future.
Example code
import std
# foo bar
def add: int x, int y -> int
x y +
def main: ptr argv, int argc -> int
2 1 add 4 < if
"Yeah\n" puts
else
"Huh?!\n" puts
0 # Exit code
Compiling with Docker
Currently, Ilo is only able to compile itself to Linux x86_64. Compiling in MacOS is possible using Docker:
docker compose run --rm ilo
There are plans to extend the Ilo compiler to cross compile to MacOS.
Related Skills
node-connect
349.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.9kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
