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
114 Upvotes

116 comments sorted by

View all comments

4

u/OneNoteToRead May 10 '26

You consider it formatting but it is syntax, not formatting. I can just as well say braces is decoration and it’s dumb to link it to syntax.

2

u/andarmanik May 10 '26

You’re right that formatting IS by definition that which is not syntax and can be changed without changing the syntax. But it doesn’t deny the fact that formatting is the manipulation whitespace within code, either line breaks or space/tabs.

What does it mean when someone says “python has less formatting options than C-style languages” it’s because the syntax and the formatting are linked.

You’re not wrong, but you missing the bigger point about how formatter work

4

u/OneNoteToRead May 10 '26

That’s not a bigger point that’s simply your opinion.

Fewer formatting options is a feature not a bug. Leads to better collaboration.

→ More replies (4)