SultanC – an Arabic-first systems programming language

supax 16 points 4 comments November 07, 2026
github.com · View on Hacker News

Discussion Highlights (2 comments)

supax

Hi HN, I'm Madyan. When I was young I wanted to learn programming, but I couldn't. Every language, book and error message was in English, and I didn't know English yet. I used to dream of a programming language in Arabic. I only started programming after I learned English, and for the past 2 years I've been building that language. SultanC is a compiled systems language designed Arabic-first. Keywords, types and the standard library all have Arabic names, and every one of them also has an English spelling, so the same program can be switched between Arabic and English with one click, both ways. Try it in the browser (the real compiler, running as WebAssembly, no install): https://sultan-language.github.io/playground/ What's in it: - The compiler is written in SultanC itself - Native code generation for arm64 macOS and x86_64 Linux, plus an LLVM backend for cross-compiling to other targets - The playground runs the full compiler in a Web Worker. Nothing is sent to a server - Identifiers follow how Arabic is actually typed: tatweel (ـ) is ignored and أ / إ / آ are treated as ا, so the same name typed different ways is the same name - Error messages in Arabic or English My hope is that a kid who is where I was can start programming in their own language today, without waiting years to learn English first. I'd love to hear what you think, and where it breaks.

tzury

In an Arabic first language I would expect having msg = «quoted string» vs. msg = "quoted string" Let alone PI=٣.١٤٢ Vs PI=3.142

Semantic search powered by Rivestack pgvector
3,874 stories · 35,194 chunks indexed