MCPcopy Create free account
hub / github.com/EvolvingPrograms/turing / info

Function info

programs/rule110/eval.ts:42–46  ·  view source on GitHub ↗
(i: number)

Source from the content-addressed store, hash-verified

40 const states: Tape[] = [initialState]
41
42 function info(i: number) {
43 log(`TAPE ${state.join(" ")}`)
44 log(`SYMBOL ${positions(state)}`)
45 log(`LIST ${format(state).split("").join(" ")} ${i}`)
46 }
47
48 function evolve(state: Tape) {
49 const newState: Tape = [];

Callers 1

rule_110Function · 0.85

Calls 3

logFunction · 0.85
positionsFunction · 0.85
formatFunction · 0.85

Tested by

no test coverage detected