blife.sac could do better than it does
|Created on||Feb 24, 2013 20:19|
I was just looking at bug725.sac, an incarnation of Conway's Game of Life, It does this, in function addpad(): sh1 = shape(a); pad1 = [genarray([sh1],0)]; add1 = pad1 ++ a ++ pad1; The ++ functions are unable to AWLF, because of the way that pad1 is defined. If the code is rewritten this way: sh1 = shape(a); shpad = [ 1, sh1]; pad1 = genarray(shpad,0); add1 = pad1 ++ a ++ pad1; then the whole shebang wolds into a single WL. I think I'll go change blife.sac to work this way. However, it would not be a lot of work for some keener to make AWLF work on the original blife.sac code.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information