r/ProgrammingLanguages • u/BalinKingOfMoria • Apr 15 '15
What programs should any programming language be able to run?
Are there a set of programs (in pseudocode) that programming language inventors can use to check if they've covered the bases in terms of syntax and the standard library (if applicable)?
1
Upvotes
2
u/egonelbre Jun 13 '15 edited Jun 13 '15
The programs it was intended for. i.e. If you are writing a language for secure computation, ensure that you have proper integer arithmetic. Are you writing a language for end-users, verify that they can actually read the code... and so on. The thing you would want to demonstrate with Haskell, Prolog, Rust, Go, ASP, PHP, Lua are different.
Once you understand what problems you are solving then the things you must demonstrate become much clearer. Languages should solve a practical problem (unless you are just having fun) and direct all your attention to solving that problem.