|Perl: the Markov chain saw|
Re: Prolegemona To A Future Scripting Language: Game Of Life In Perl 6by jryan (Vicar)
|on Apr 26, 2003 at 22:31 UTC||Need Help??|
A few comments:
Is probably better written as:
However, the exact semantics of the given statement haven't been fully defined yet (as in, if it returns the return value of the last given), so it might not be good to rely on that. Chances are, if it is implemented as a builtin multimethod, it will, though.
? ... : is now ?? ... :.
<STDIN> should be <$*STDIN>, since filehandles are now scalars, and STDIN is a global. (<> might still default to STDIN, though.)
Pretty good tho.
Also, there are 2 working versions of life in the Perl6 compiler located in parrot/languages/perl6. (As if anyone cared. :-/)