r/ProgrammingLanguages • u/Mean-Decision-3502 DQ • Jul 16 '26
New Languages: Standardizing API, Examples ?
Hi, some of you are developing new general-purpose programming languages here. When the language is ready, you have to develop standard APIs, like file-io, json-handling etc. Users, and you would have benefit, when the APIs would be same/similar across multiple different languages.
Standardizing some Examples would allow the users to compare languages more easily.
What do you think?
11
Upvotes
View all comments
Show parent comment
5
u/rosshadden Jul 16 '26
Yeah I reference it a lot, especially while I was designing my language to see whether there was precedent some of the things I wanted to do.
That said, it could be so much more than it is. I feel like there's room for another similar project that was more about documenting how languages do certain things at a smaller scale. Things like "what is the syntax for field access in languages". Stuff that would be boring for most people but useful to build a powerful matrix of language syntaxes and constructs. It would fit well in Rosetta code but usually things there are more at a "how to implement array sorting" kind of level.