5 karma · joined Aug 7, 2026 (3mo ago) · 4 submissions
comment 1w ago · link · parent
comment 2w ago · link · parent
comment 3w ago · link · parent
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.
4.
SultanC – an Arabic-first systems programming language(github.com ↗)
16 points · by supax · 3w ago · 5 comments