• Game of Life in APL ... in Forth

    From Brian Fox@21:1/5 to All on Wed May 18 05:56:38 2022
    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 ∘ . ⌽ ⊂ ⍵ } ;

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From NN@21:1/5 to Brian Fox on Wed May 18 06:17:19 2022
    On Wednesday, 18 May 2022 at 13:56:39 UTC+1, Brian Fox wrote:
    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 ∘ . ⌽ ⊂ ⍵ } ;


    Its been posted previously under

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

    and went unnoticed...

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Brian Fox@21:1/5 to All on Wed May 18 07:39:20 2022
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From NN@21:1/5 to Brian Fox on Sat May 21 10:39:57 2022
    On Wednesday, 18 May 2022 at 15:39:21 UTC+1, Brian Fox wrote:
    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.

    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Brian Fox@21:1/5 to All on Mon May 23 07:23:09 2022
    On Saturday, May 21, 2022 at 1:40:09 PM UTC-4, NN wrote:
    On Wednesday, 18 May 2022 at 15:39:21 UTC+1, Brian Fox wrote:
    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.
    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

    Thanks. I knew about CoSy but not Lang5.
    Lang5 in Perl... is that a gauntlet being thrown down that I hear?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)