r/Compilers • u/TadashiNakamoto • Aug 13 '26
Building my own programming language
Hi everyone,
I’m building my own programming language.
Meet AXE ⚡
AXE is an experimental programming language inspired by Python’s readability, but with a more explicit, brace-based syntax.
I’m building AXE from the ground up to learn what actually happens behind the scenes when code goes from:
Source → Lexer → Tokens → Parser → AST → Interpreter → Output
It’s still very early, but that’s the fun part.
Not trying to build the next Python.
Just trying to understand how programming languages are actually built by building one myself.
0
Upvotes
8
u/eteran Aug 13 '26
So your interpreter is built in python? Seems like it's gonna have rough performance. But seems like a fun project. How much is AI and how much is you?
7
u/Proffhackerman Aug 13 '26 edited Aug 13 '26
r/Compilers first-project posters try not to post vibeslop challenge. Post in r/AIprogrammingLanguage instead.
12
u/GTRxConfusion Aug 13 '26
Are you building it or is claude?
1
u/TadashiNakamoto Aug 14 '26 edited Aug 14 '26
Hi everyone!
A quick update on my programming language project... AXE is now NXL.
NXL is currently under active development, and I’m building it from scratch in Rust with the goal of creating a simple, readable, and approachable programming language.
The project is still evolving, so there’s a lot more to come.
Try NXL: https://nxl-lang.xanmoy.dev
Source code: https://github.com/xanmoy/nxl
NXL is free to use and open source under the MIT License.
If you’re interested in programming languages, compilers, interpreters or just experimenting with something new, I’d love for you to check it out and share your feedback!
Thanks!
1
u/adityazero Aug 13 '26
When i started writing my programming language, i named it Ax. Then quickly realized that the name is too catchy to be missed by others. I named it something else, but like the name.
1
u/adityazero Aug 13 '26
Building the whole pipeline yourself is the best way to actually internalize how a language works, so this is a solid approach. Since you are at the AST plus tree-walking interpreter stage, are you planning to stay a tree walker or eventually lower the AST to a bytecode VM once the semantics settle?
0
u/[deleted] Aug 13 '26
[deleted] — view deleted comment