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 ∘ . ⌽ ⊂ ⍵ } ;
: 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...
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.
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
if you like forth and you like apl you might find this one worth a look tooand went unnoticed...Wow. I thought it was masterfully done.
Maybe it's "de rigeur" for folks here.
1) https://aplwiki.com/index.php?title=Lang5
2) https://aplwiki.com/wiki/CoSy
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 300 |
Nodes: | 16 (2 / 14) |
Uptime: | 47:35:57 |
Calls: | 6,710 |
Calls today: | 3 |
Files: | 12,243 |
Messages: | 5,354,497 |
Posted today: | 1 |