Article View: apl
Article #1Merry Christmas continues
From: ded
Date: Thu, 03 Nov 1983 13:24
Date: Thu, 03 Nov 1983 13:24
59 lines
2042 bytes
2042 bytes
As expected, my request for programs to print "Merry Christmas" 15 times
has resulted in a broad range of submissions. It is extremely interesting
to scan through the file and compare the syntax of the various languages.
Here is a list of what's come in so far:
/* Algol-60 */
/* Algol-68 */
/* APL */
/* APL */
/* APL */
/* C */
/* EYE */
/* Forth */
/* Forth */
/* Fortran 77 */
/* IBM 370 assembly */
/* Icon */
/* The Kent Recursive Calculator */
/* LISP */
/* Scheme or Maclisp or Franz Lisp */
/* MTS Lisp */
/* LSE */
/* MTS editor */
/* Pascal */
/* PL/I version. ANS PL/I, subset G. */
/* PL/1 */
/* PL/1 */
/* QC */
/* Snobol 4 */
/* UNIX shell script */
/* XPL */
As you may have noticed, there are some glaring omissions
from the above list (i.e., Basic, Prolog, Modulo-2).
If your favorite programming language wasn't included, then it's
time to send me a sample, because I'm not gonna do it for you.
Once again, here's the rules of this non-game
we're playing. Just send me a program which prints the phrase "Merry
Christmas" 15 times. Here is an example in C:
/* C */
main()
{
int i;
for (i=0; i<15; i++)
printf("Merry Christmas\n");
}
The final result will be posted to the net. Thanks to all who have
contributed so far. Many of these languages I've never even heard of before,
much less seen.
--
Don Davis
JHU/APL
...decvax!harpo!seismo!umcp-cs!aplvax!ded
...rlgvax!cvl!umcp-cs!aplvax!ded
Technical Details
Message-ID:
<405@aplvax.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!linus!security!genrad!decvax!harpo!seismo!rlgvax!cvl!umcp-cs!aplvax!dedShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site aplvax.UUCP Path: arc1-ca.pugleaf.net!utzoo!linus!security!genrad!decvax!harpo!seismo!rlgvax!cvl!umcp-cs!aplvax!ded From: ded@aplvax.UUCP Newsgroups: apl,net.general,net.misc,net.lang Subject: Merry Christmas continues Message-ID: <405@aplvax.UUCP> Date: Thu, 3-Nov-83 08:24:47 EST Article-I.D.: aplvax.405 Posted: Thu Nov 3 08:24:47 1983 Date-Received: Sat, 5-Nov-83 20:27:49 EST Organization: JHU/Applied Physics Lab, Laurel, MD Lines: 59