[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

LOGO-L> Re: Xmas - The Gift of Life - Conway's +...



On 24 Dec 98 22:26:34 GMT, Bob Gorman <bgorman@kncell.org> wrote:
> Stocking Stuffer #1
> A file I received a long time ago from a friend contained many versions of
> Conway's Game of Life, written in a whole host of languages. Since the
>problem
> can be described in 3 simple rules and most implimentations are under 2 pages
> of source code, it's great for showing students, of all ages, how the various
> computer languages differ, much like dialects of a so-called natural
>language.
> I started to analyze them from the point of view of cognitive complexity, but
> never finished it. The various versions include 2 dialects of BASIC, 2 of C
> (one with a different representational algorithm), FORTRAN, FORTH (one of my
> favorities), LISP, PROLOG, and a few editor type languages.... Sorry, no
>LOGO,
> yet! Perhaps one of you might want to either hack the LISP version or do one
> from scratch, over the holidays....
>
> I compressed the files, into a ZIP of 28K. email me if your interested. If
> enough are, I can either post it or put it on my own webpage

I would definitely be interested (maybe I could even add few languages
if I can find some time :).  It remainds me of a project we did once at
a programing seminar in college:  write a program that would solve the
famous "eight queens" problem (place 8 queens on a chessboard such that
they don't attack each other),  in as many languages as possible.  I
don't have the collection any more,  but I remember we had all sorts of
languages from intel 8080 assembler,  through c, pascal and similar
languages, to lisp, forth and prolog.

--
Jan Hlav\'{a}\v{c}ek
lahvak@math.mps.ohio-state.edu  (Blind Carbon Copies will bounce)
www: http://www.math.ohio-state.edu/~lahvak/



---------------------------------------------------------------
Please post messages to the Logo forum to logo-l@gsn.org.  Mail
questions about the list administration to logofdn@gsn.org.  To
unsubscribe send    unsubscribe logo-l    to majordomo@gsn.org.



Global SchoolNet Foundation - Linking Kids Around the World!
Copyright GSN - All Rights Reserved - Comments & Questions
Visit GSN's Global Schoolhouse for more exciting learning resources!
Search our Site - Home