Update binary expression inference, see #35; Update dependencies

This commit is contained in:
dcodeIO
2018-03-01 19:42:07 +01:00
parent 02dce5a518
commit 4633fdab96
26 changed files with 6342 additions and 3057 deletions

View File

@ -27,10 +27,12 @@ export function step(): void {
load<u8>(yp1 * w + xm1) + load<u8>(yp1 * w + x) + load<u8>(yp1 * w + xp1)
);
if (load<u8>(y * w + x)) {
if (n < 2 || n > 3)
if (n < 2 || n > 3) {
store<u8>(s + y * w + x, 0);
} else if (n == 3)
}
} else if (n == 3) {
store<u8>(s + y * w + x, 1);
}
}
}
}