Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Game of Life in APL ... in Forth

98 views
Skip to first unread message

Brian Fox

unread,
May 18, 2022, 8:56:39 AM5/18/22
to
Saw this on Reddit Forth and thought C.L.F might like to see it.

https://github.com/chmykh/apl-life

Outstanding work IMHO by Alexander Serkov

\ The Game of Life

: life { _ } ←{ ↑ 1 ⍵ ∨ . ∧ 3 4 = + / , -1 0 1 ∘ . ⊖ -1 0 1 ∘ . ⌽ ⊂ ⍵ } ;

NN

unread,
May 18, 2022, 9:17:20 AM5/18/22
to
Its been posted previously under

https://groups.google.com/g/comp.lang.forth/c/jw6yU_yI15E/m/s09E4zscDQAJ

and went unnoticed...

Brian Fox

unread,
May 18, 2022, 10:39:21 AM5/18/22
to
On Wednesday, May 18, 2022 at 9:17:20 AM UTC-4, NN wrote:

> > : life { _ } ←{ ↑ 1 ⍵ ∨ . ∧ 3 4 = + / , -1 0 1 ∘ . ⊖ -1 0 1 ∘ . ⌽ ⊂ ⍵ } ;
> Its been posted previously under
>
> https://groups.google.com/g/comp.lang.forth/c/jw6yU_yI15E/m/s09E4zscDQAJ
>
> and went unnoticed...

Wow. I thought it was masterfully done.
Maybe it's "de rigeur" for folks here.

NN

unread,
May 21, 2022, 1:40:09 PM5/21/22
to
if you like forth and you like apl you might find this one worth a look too

1) https://aplwiki.com/index.php?title=Lang5

2) https://aplwiki.com/wiki/CoSy

Brian Fox

unread,
May 23, 2022, 10:23:11 AM5/23/22
to
Thanks. I knew about CoSy but not Lang5.
Lang5 in Perl... is that a gauntlet being thrown down that I hear?
0 new messages