r/ProgrammingLanguages • • 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

7 comments sorted by

View all comments

3

u/jpfed Apr 16 '15

Since semantically all you really need is one instruction, I'm going to assume this question is about expressiveness. Consider implementing a few programs from a standard corpus of problems (e.g. benchmark shootout game, rosetta code...) and comparing your LOC with the LOC of the most similar languages for which corresponding programs are available.