What canonical programs exist that can be written in one language, then in another language, so that the two programs can be examined side-by-side for the purposes of comparing the different syntax/features of the two (or more) languages?
I can think of one (and, only one), “Hello, World!”
Are there more?