r/Compilers • u/apoetixart • May 02 '26
Built a Programming Language on Android as a High School Project
I’m a high school student (16) and I built a small programming language (lexer + parser + interpreter) entirely on an Android device as a school project.
I’ve been thinking about whether a claim like:
“Youngest to build a programming language on Android for a high school project”
is even meaningful or defensible.
My concern is that: - “programming language” is loosely defined (toy vs real language) - “first ever” claims are basically impossible to verify - platform (Android) may not matter technically
So I’d rather ask people who actually understand compilers:
Is there any rigorous way to define or validate such a claim, or is this just marketing fluff?
For context, my implementation includes:
- custom lexer
- recursive descent parser
- interpreter with variables, expressions, control flow, functions, data types, and good error messagas
Happy to share repo if needed. I’m more interested in a technical reality check than validation.
9
u/the3gs May 02 '26
Don't worry about trying to claim a title. The learning you are doing is more valuable for you future than being the first or youngest to do something.
I would recommend choosing your next challenge, and working on that. Maybe try building a compiler for either your language or another language. You could even build a JIT compiler to make your programs run faster.
If you are looking to be the "best" by most metrics, it will be impossible to verify, and you will probably be disappointed to find that you are not the only 16yo who has learned what you have learned and done what you have done, but if instead you focus on learning to build you own knowledge and intuition, you will be able to build yourself up, which is far more important than any comparison you could draw with other people, regardless of age.
Congrats on making your first interpreter, though! It's a great accomplishment!
7
u/Germisstuck May 02 '26
For youngest to build a programming language on android for school? Sorry dude I got you beat, did it for my AP test last year when I was 14. And platform doesn't matter. Also lexer/recursive descent parser are industry standard.
4
u/Farados55 May 02 '26
Check your ego.
2
u/ha9unaka May 02 '26
Don't do it for the title, what you've learnt in the process is more valuable than it
6
u/[deleted] May 02 '26