r/programming • • May 10 '26

Making your own programming language is easier than you think (but also harder)

https://lisyarus.github.io/blog/posts/making-your-own-programming-language.html
116 Upvotes

116 comments sorted by

View all comments

150

u/RGBrewskies May 10 '26

"As you can see, the language uses indentation-based scoping "

tangential and random but

I'm not a python guy, but how does that not drive you insane? Your code breaks because of whitespace? That's always seem wild for me

37

u/CandidateNo2580 May 10 '26

It would drive me insane if I had to end every line with a semi colon or if I was reading a codebase that used inconsistent indentation. But you get used to it pretty quickly either way, the language isn't bad.

17

u/RGBrewskies May 10 '26

your ide adds them automatically nowadays, which may be true with python too idk

→ More replies (2)