implement str.from_i64

This commit is contained in:
2025-11-22 20:01:10 +01:00
parent 06c979f177
commit 73cd71c8e4
6 changed files with 47 additions and 27 deletions

View File

@@ -5,11 +5,11 @@ func rule110_step[state: Array] : Array
for i in 0..state_len
let left: Bool = false
if i - 1 >= 0
left = array.nth(state, i-1)
left = array.nth(state, i - 1)
let center: Bool = array.nth(state, i)
let right: Bool = false
if i + 1 < state_len
right = array.nth(state, i+1)
right = array.nth(state, i + 1)
array.push(new_state, !((!left & !center & !right) | (left & !center & !right) | (left & center & right)))