mem = Array{Int64,1}(size_mem)
primitives = Array{Function,1}()
+primNames = Array{ASCIIString,1}()
# Built-in variables
mem[codeWordAddr] = -length(primitives)
mem[HERE] += 1
+ push!(primNames, name)
+
return codeWordAddr
end
# Everyting else is simply a consequence of this loop!
jmp = mem[NEXT]
while (jmp = callPrim(jmp)) != 0
- println("Evaluating prim $jmp")
+ println("Evaluating prim $jmp [$(primNames[-jmp])]")
end
end