Re:Conway's Game Of Life in one line of APL
by tibbon on Saturday January 09, 2010 @01:04PM
(#1041714)
Can someone put that one line here? I don't feel like watching a video on my mobile.
[ Parent
| on HN ]
life ← {⊃ 1 ω ∨ . ∧ 3 4 = +/ +⌿ 1 0 ~ 1 ∘ . Θ 1 - ~1 Φ" ⊂ ω}
(all typos are mine, not the author's)
Re:Conway's Game Of Life in one line of APL
by spc476 on Saturday January 09, 2010 @11:59PM
(#1042681)
It took a few minutes (and looking closely at the video) but I think this is what he typed:
life ← { ⊃ 1 ω ∨ . ∧ 3 4 = +/ +⌿ 1 0 ‾1 ∘.θ 1 - ‾1 Φ″ ⊂ ω }
The actual source can be found at
http://www.dyalog.com/dfnsdws/c_life.htm