r/ProgrammingLanguages • u/jsamwrites • Feb 18 '26
Language announcement multilingual: a programming language with one semantic core, many human languages
I'm working on multilingual, an experimental programming language where the same program can be written in different human languages.
Repo : https://github.com/johnsamuelwrites/multilingual
Core idea:
- Single shared semantic core (variables, loops, functions, classes, operators,...)
- Surface syntax in English, French, Spanish, etc.
- Same AST regardless of natural language used
Motivation
- Problem: programming is still heavily bound to English-centric syntax and keywords.
- Idea: keep one semantic core, but expose it through multiple human languages.
- Today: this is a small but working prototype; you can already write and run programs in English, French, Spanish, and other supported languages.
Who Is This For?
multilingual is for teachers, language enthusiasts, programming-language hobbyists, and people exploring LLM-assisted coding workflows across multiple human languages.
Example
Default mode example (English):
>>> let total = 0
>>> for i in range(4):
... total = total + i
...
>>> print(total)
6French mode example:
>>> soit somme = 0
>>> pour i dans intervalle(4):
... somme = somme + i
...
>>> afficher(somme)
6I’d love feedback on:
- Whether this seems useful for teaching / early learning.
- Any sharp critiques from programming language / tooling people.
- Ideas for minimal examples or use cases I should build next.
18
Upvotes
View all comments
Show parent comment
2
u/jsamwrites Feb 19 '26
That's a valid concern. Though I'd note: the same argument applies to this very discussion — we're talking about a multilingual language entirely in English.
The goal isn't to replace the existing documentation ecosystem. It's to let someone learn and reason about code in their own language first, before eventually engaging with that ecosystem.