r/ProgrammingLanguages • u/AustinVelonaut Admiran • Jan 14 '26
Build Your Own Programming Language
https://thesephist.com/posts/pl/
47
Upvotes
r/ProgrammingLanguages • u/AustinVelonaut Admiran • Jan 14 '26
View all comments
Show parent comment
1
u/Arakela Jan 30 '26 edited Jan 30 '26
Every general-purpose language is just a DSL, whose domain is GP, with a different contract to users. Go, Rust, C++, each formalize specific trade-offs and declare their defaults: "this is what we optimize for."
We're not escaping domain constraints by choosing a GP language.
We're choosing which contract fits the problem we are trying to solve,
And sometimes the answer is: none of them, build your own grammar.